Defines the tab's background color (ending color when using a gradient fill along with BackColorStart).
Get
| VB | Clr = object.BackColorEnd As OLE_COLOR |
Put
| VB | object.BackColorEnd = Clr As OLE_COLOR |
object
Clr
Defines the tab's background color (ending color when using a gradient fill along with BackColorStart). Use -1 to restore the default color. Use -1 to restore the default color.
The BackColorEnd property defines the tab's background color (ending color when using a gradient fill along with BackColorStart).
If both Tab.BackColorStart and BackColorEnd are defined, the tab is rendered using a gradient fill when the tab is not the current tab. On display devices that do not support gradient fills or if fewer than 65K colors are available, the Tab.BackColor property is used instead.
' Add a new tab associated with this MDI child window
' We'll save a reference to the form object in the tab's Tag1
' 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 tabSee Also SftTabsTab Object | Object Hierarchy