AllowStateChange Property

Applies To
LED

Description
Gets or sets the inversion actuation of LED control when double-clicked.

Usage

GGet Form.Control.AllowStateChange, var  
GSet  Form.Control.AllowStateChange, value  
Form
Name of a form or string variable containing a form name.
Control
Name of a control or string variable containing a control name. The control must exist in the specified form.
var
Boolean variable that will contain the value of the property.
value
Boolean expression for the new value of the property.

Values
False
True

Default: False

Remarks
To invert output, set IOType property in 1 - Output or 2 - Memory.

See Also
LED, IOType

Example

GSet frmMain.Led1.AllowStateChange, True