WR EXECUTE COMMAND

4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next

version 6.5


WR EXECUTE COMMAND (area; cmdNumber)

ParameterTypeDescription
areaLongint4D Write area
cmdNumberLongintNumber 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.


4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next