ENABLED property (GUI)
Description
Enables or disables mouse and keyboard input to a control. When input is disabled, the window does not receive input such as mouse clicks or key presses.
Property Value
The ENABLED property is an integer value that specifies if the control is enabled. For a standard control it can be one of the following values:
Value | Description |
---|---|
0 | The control is disabled. |
1 | The control is enabled. |
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
Get/Set | Get/Set | No | No | No |
Remarks
Most controls treat this property as a Boolean value, but there are exceptions to this such as the EDITFIELD control. Any such exceptions are noted in the individual control descriptions.
Example
$Insert Logical * // Example - Disabling a control Call Set_Property_Only( ctrlEntID, "ENABLED", FALSE$ )
See Also
N/A