WR EXECUTE COMMAND
version 6.5
WR EXECUTE COMMAND (area; cmdNumber)
Parameter | Type | Description | |
area | Longint | 4D Write area | |
cmdNumber | Longint | Number of the command to execute |
Description
The WR EXECUTE COMMAND command causes the action associated with a 4D Write menu command or toolbar button to be executed. The most common use for this command is to execute a command after the user has chosen that command and your code has intercepted the user's choice through the WR ON COMMAND command.
Note: The list of commands and their values are available in the "WR Commands" constants theme. You can either pass a constant name or its value.
See Also
Appendix B: Menu Item Numbers, WR GET COMMAND INFO, WR ON COMMAND.