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 specified tab background color is used for tab text only.
Get | |||
VB | Boolean = object.TextOnly As Boolean | ||
Put | |||
VB | object.TextOnly = Boolean As Boolean |
object
Boolean
Defines whether the specified tab background color (Tab.BackColor and BackColorActive) is used for tab text only.
Boolean | Description |
---|---|
True | The background color defined using Tab.BackColor and BackColorActive is only used for the tab text, not for the entire tab. |
False | The background color defined using Tab.BackColor and BackColorActive is used for the entire tab. |
The TextOnly property defines whether the specified tab background color is used for tab text only.
The TextOnly property affects all tabs and cannot be modified for individual tabs.
Private Sub Form_Load() Dim TabIndex As Integer Dim TabObject As SftTabsLib.SftTabsTab With SftTabs1 .Tabs.Clear .Tabs.TextOnly = True TabIndex = .Tabs.Add("First Tab") Set TabObject = .Tab(TabIndex) TabObject.BackColor = vbBlue TabObject.BackColorActive = vbBlue TabObject.ForeColor = vbWhite TabObject.ForeColorActive = vbWhite TabIndex = .Tabs.Add("Second Tab") Set TabObject = .Tab(TabIndex) TabObject.BackColor = vbRed TabObject.BackColorActive = vbRed TabObject.ForeColor = vbWhite TabObject.ForeColorActive = vbWhite End With End Sub
See Also SftTabsTabs Object | Object Hierarchy