Table of Contents

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:

ValueDescription
0The control is disabled.
1The control is enabled.

Property Traits

DevelopmentRuntimeIndexedScaledSynthetic
Get/SetGet/SetNoNoNo

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