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 visible.
Get | |||
VB | Boolean = object.Visible As Boolean | ||
Put | |||
VB | object.Visible = Boolean As Boolean |
object
Boolean
Defines whether the tab is visible.
Boolean | Description |
---|---|
True | The tab is visible. |
False | The tab is hidden. |
The Visible property defines whether the tab is visible.
A hidden tab is never displayed. All its associated controls are completely hidden also and the user cannot make the tab visible. Only the application can make a hidden tab visible. This is not equivalent to a tab that is currently not visible because the tab may have scrolled off the edge of the control. Such a tab still has a Visible property of True, but may currently not be visible to the end-user.
A hidden tab cannot be made the currently active tab. The Tabs.Current property and the mouse and keyboard interface will not allow a hidden tab to become the active tab.
Hidden tabs are best used in situations where certain groups of users should not have access to all tabs of a tab control, without being aware that additional tabs may exist. Otherwise, disabling a tab is possible using the Tab.Enabled property. A disabled tab is still visible to the end user.
Private Sub Form_Load() Dim TabIndex As Integer With SftTabs1 .Tabs.Clear TabIndex = .Tabs.Add("First Tab") .Tabs.Current = TabIndex TabIndex = .Tabs.Add("Hidden Tab") .Tab(TabIndex).Visible = False TabIndex = .Tabs.Add("Third Tab") End With End Sub
See Also SftTabsTab Object | Object Hierarchy