TabPageBackColor Property

Applies To
TabControl

Description
Sets the background color for the tab page that is displayed on the Tab control.

Usage
GGet Form.Control.TabPageBackColor(index), var
GSet Form.Control.TabPageBackColor(index), value

Form
Name of a form or string variable containing a form name.
Control
Name of a control or string variable containing a control name.
Index
An index of the Tab control.
var
String variable that will contain the value of the property.
value
String expression for the new value of the property
This property can be used with GGet and GSet only when RC800 Controller is connected.  

Values
The name for the color to assign to the tab page background color.
Default: Control

See Also
TabControl, TabEditor

Example

' Gets the tab page background color for index 2 that is currently set.
GGet frmMain.tabControl1.TabPageBackColor(2), backColor
' Sets the tab page background color for index 0 to "Red."
GSet frmMain.tabControl1.TabPageBackColor(0), “Red”