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 provides a client area for tab pages.
Put | |||
VB | object.ClientArea = Boolean As Boolean | ||
Get | |||
VB | Boolean = object.ClientArea As Boolean |
object
Boolean
Defines whether the control provides a client area for tab pages.
Boolean | Description |
---|---|
True | A client area is available. |
False | A client area is not available. |
The ClientArea property defines whether the control provides a client area for tab pages.
A tab control can optionally contain a client area. The client area is used to display controls associated with a tab.
Certain tab styles (see Style) do not support a client area. The Attributes property page can be used to determine if a tab style supports a client area.
The client area cannot be removed if any of the tabs have associated controls.
If a client area is available, controls can be added to the tab control at design-time. As the user switches between tabs, the controls associated with each tab are shown or hidden. As controls are hidden because their associated tab is not the current tab, the controls are not only hidden, but also disabled (using Visual Basic's Enabled property). This is fully automatic and requires no application intervention.
The tab order of the controls contained within the client area (or current tab page) is defined using Visual Basic's TabIndex property.
Private Sub Form_Load() With SftTabs1 .ClientArea = False .MakeNaturalSize End With End Sub
See Also SftTabs Object | Object Hierarchy