4D Write v16WR EXECUTE COMMAND |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Write v16
WR EXECUTE COMMAND
WR EXECUTE COMMAND
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. You want to be able to access certain word-processing functions via buttons. To do so, you can write: Object method of bNew button. WR EXECUTE COMMAND(theArea;wr cmd new) Object method of bOpen button. WR EXECUTE COMMAND(theArea;wr cmd open)
See also
Appendix B: Menu Item Numbers
|
PROPERTIES
Product: 4D Write
HISTORY
Created: 4D Write 6.5 ARTICLE USAGE
4D Write Language ( 4D Write v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||