C1Tab Reference > C1Tab Properties > TabColor Property |
Returns or sets the background color for a given tab.
[form!]C1Tab.TabColor(Index As Integer)[ = colorref& ]
The default value for this property is zero, which causes the control to use the default color for painting the tab (FrontTabColor property).
You can change the caption, picture, visibility, and enabled state of a tab using the TabCaption, TabPicture, TabVisible, and TabEnabled properties.
Tabs are numbered from zero to NumTabs - 1. Trying to get or set a TabColor outside this range will trigger an invalid index error.
Color