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 tab is enabled.
Get | |||
VB | Boolean = object.Enabled As Boolean | ||
Put | |||
VB | object.Enabled = Boolean As Boolean |
object
Boolean
Defines whether the tab is enabled.
Boolean | Description |
---|---|
True | The tab is enabled. |
False | The tab is disabled. |
The Enabled property defines whether the tab is enabled.
A disabled tab is displayed using grayed tab text and the tab graphic (if based on a bitmap) is displayed in a grayed fashion. If the tab graphic is based on an icon, it is not grayed.
At run-time, a disabled tab cannot be made the currently active tab. The Tabs.Current property and the mouse and keyboard interface will not allow a disabled tab to become the active tab.
If a disabled tab is made the current tab at design-time, it will be made the active tab at run-time.
Disabled tabs are visible to the end user. To completely hide a tab and all its associated controls, the Tab.Visible property can be used instead.
Private Sub Form_Load() Dim TabIndex As Integer With SftTabs1 .Tabs.Clear TabIndex = .Tabs.Add("First Tab") TabIndex = .Tabs.Add("Disabled Tab") .Tab(TabIndex).Enabled = False End With End Sub
See Also SftTabsTab Object | Object Hierarchy