Contents - Index


CheckBox (Macro Command)

 

CheckBox 'CheckBoxName' Action {Execute}

Normally, check box controls placed in the Diagram window are checked or unchecked by clicking the mouse button while the cursor is positioned over the check box.  The CheckBox macro command allows the status of the check box to be set without having to click it.  'CheckBoxName' is the name provided for the check box. It can be a string constant or a string variable that has been previously set to the check box name.  Action can be one of the following: UnCheck, Check, 0, or 1.  Uncheck and 0 both uncheck the checkbox.  Check and 1 both check it.  Action can be a string constant or string variable.  Execute (or dontExecute) is optional,  If it is provided,  it overrides the "Execute EES commands when check status is changed" setting.

 

Example:

 

CheckBox 'ShowBox' Checked DontExecute

 

MacroCommands