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 client area colors defined for tabs are used for frames.
Put | |||
VB | object.UseClientAreaColors = Boolean As Boolean | ||
Get | |||
VB | Boolean = object.UseClientAreaColors As Boolean |
object
Boolean
Indicates whether frames of additional rows behind the first row use the color defined using the tab's Tab.ClientAreaColor property as their background color.
Boolean | Description |
---|---|
True | The tab's defined client area color is used to fill the frame. |
False | The control's default background color (BackColor) is used to fill the frame. |
The UseClientAreaColors property defines whether the client area colors defined for tabs are used for frames.
Additional tab rows display a frame if a client area is available and the row indentation is suitably defined (Tabs.RowIndent). These frames can use the default background color defined using the control's BackColor property. If UseClientAreaColors is set to True, the first tab's ClientAreaColor property (of each row) is used to fill the corresponding frame.
If the tab control uses Windows themes, the UseClientAreaColors property has no effect.
Private Sub Form_Load() Dim TabIndex As Integer With SftTabs1.Direct .Tabs.Clear TabIndex = .Tabs.Add("First Tab") .Tab(TabIndex).ClientAreaColor = vbRed TabIndex = .Tabs.Add("Second Tab") .Tab(TabIndex).ClientAreaColor = vbBlue TabIndex = .Tabs.Add("Third Tab") .Tab(TabIndex).ClientAreaColor = vbYellow TabIndex = .Tabs.Add("Fourth Tab") .Tab(TabIndex).ClientAreaColor = vbWhite .Tabs.Rows = 2 .UseClientAreaColors = True End With End Sub
See Also SftTabs Object | Object Hierarchy