version 6.0
WR O EXPERT COMMAND (area; command; status)
| Parameter | Type | Description | |
| area | Longint | 4D Write area | |
| command | Integer | Command number | |
| status | Integer | 0=Enabled | |
| 1=Disabled |
Note 6.5: This command was only maintained for compatibility purposes. We recommend using the WR LOCK COMMAND command.
Description
The command WR O EXPERT COMMAND enables or disables the menu items. If status equals 0, the menu item is enabled. If status equals 1, the menu item is disabled. The WR O EXPERT COMMAND command cannot enable commands disabled by 4D Write.
Note: The command numbers used by the WR O EXPERT COMMAND command are not documented in the present manual. Please refer to the 4D Write 6.0.x documentation or use the WR LOCK COMMAND command.
To disable a menu, pass the menu number followed by 00. For example, to disable the File menu, pass 100 for command.
See Also