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 the item's enabled/disabled status.
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 the item's enabled/disabled status.
Boolean | Description |
---|---|
True | The item is enabled. |
False | The item is disabled. |
The Enabled property defines the item's enabled/disabled status.
A disabled item is drawn in a "grayed" fashion indicating its status. It uses the colors specified for the disabled state (usually containing the text "Grayed").
Except for the visual difference, a disabled item acts like an enabled item and generates the same events. It is up to the application to implement a different behavior if desired. The Items.SelectEnabledItemsOnly property can be used to define whether only enabled items can be selected by the user using the mouse or keyboard.
See Also SftBoxItem Object | Object Hierarchy