version 6.0
WR O ON MENU (area; method)
| Parameter | Type | Description | |
| area | Longint | 4D Write area | |
| method | String | Name of method |
Note 6.5: This command was only maintained for compatibility purposes. We recommend using the WR ON COMMAND command.
Description
The command WR O ON MENU installs method as the method for managing 4D Write menus. If method is an empty string, no method will be called. After a menu method is installed, all menu actions must be managed by method.
If area equals 0, WR O ON MENU is applied to all 4D Write areas until the database is closed. method receives the following local variables when the method executes:
Explicitly type the $1, $2, and $3 variables using compiler directives.
The following are the modifier keys used, expressed as the sum of key numbers:
Note: The command numbers used by WR O ON MENU are not documented in the present manual. Please refer to the 4D Write 6.0.x documentation or use the WR ON COMMAND command.
See Also