Defines the tab's background color (starting color when using a gradient fill along with BackColorActiveEnd, used when the tab is the current tab).
Get
| VB | Clr = object.BackColorActiveStart As OLE_COLOR |
Put
| VB | object.BackColorActiveStart = Clr As OLE_COLOR |
object
Clr
Defines the tab's background color (starting color when using a gradient fill along with BackColorActiveEnd, used when the tab is the current tab). Use -1 to restore the default color.
The BackColorActiveStart property defines the tab's background color (starting color when using a gradient fill along with BackColorActiveEnd, used when the tab is the current tab).
If both BackColorActiveStart and Tab.BackColorActiveEnd are defined, the tab is rendered using a gradient fill when the tab is the current tab. On display devices that do not support gradient fills or if fewer than 65K colors are available, the Tab.BackColorActive property is used instead.
' property
With SftTabs1.Direct
' add the tab
iTab = .Tabs.Add(frmD.Caption)
' define colors
.Tab(iTab).BackColorStart = &HFEECDD
.Tab(iTab).BackColorEnd = &HE2A981
.Tab(iTab).BackColor = &HE2A981
.Tab(iTab).BackColorActiveStart = &HFEECDD
.Tab(iTab).BackColorActiveEnd = &HE2A981
.Tab(iTab).BackColorActive = &HE2A981
' define a close button for the tab
.Tab(iTab).CloseButton = True
' define a tooltip for the tab
.Tab(iTab).ToolTip = "This tab activates the form named " & frmD.Caption
' and save a reference to the MDI child form object that thisSee Also SftTabsTab Object | Object Hierarchy