SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines whether the control responds to user-generated events.
Get
VB.NET | Boolean = object.Enabled As Boolean |
VB | Boolean = object.Enabled As Boolean |
C#.NET | bool Boolean = object.Enabled; |
VC++ | VARIANT_BOOL Boolean = object->Enabled; VARIANT_BOOL Boolean = object->GetEnabled(); |
C | HRESULT object->get_Enabled(VARIANT_BOOL* Boolean); |
Put
VB.NET | object.Enabled = Boolean As Boolean |
VB | object.Enabled = Boolean As Boolean |
C#.NET | bool object.Enabled = Boolean; |
VC++ | VARIANT_BOOL object->Enabled = Boolean; void object->PutEnabled(VARIANT_BOOL Boolean); |
C | HRESULT object->put_Enabled(VARIANT_BOOL Boolean); |
object
Boolean
Defines whether the control responds to user-generated events.
Boolean | Description |
---|---|
True | The control responds to user-generated events. |
False | The control is disabled and does not respond to user-generated events. It is painted in a "grayed" style. |
The Enabled property defines whether the control responds to user-generated events.
If the control is disabled, it uses the colors specified for the disabled state (usually containing the text "Grayed").
The Locked property can be used to prevent modification of the control's contents by the user, while remaining enabled with all other features available, such as selection, cursor movement, etc.
See Also SftMask Object | Object Hierarchy