4D v13WR EXECUTE COMMAND |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Write v13
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) |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D Write 6.5 SEE ALSO
Appendix B: Menu Item Numbers |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||