tabActiveColor

Type: Integer

Availability: Read or write at any time

The tabActiveColor property of the Folder and Table classes contains the color that is drawn for the background area of the active tab of multiple sheet folders and tables. (For details about drawing the color of inactive tabs, see the tabInactiveColor property.)

The default value of Color_3Dface (which is usually light gray) is a Windows-imposed color.

The captions of active and inactive tabs are drawn by using the same font.

Consider using #e7e7e7 for the tabActiveColor property value, as this provides better resolution.

If you explicitly set the value of the tabActiveColor property of the active sheet of a folder (that is, you change it from the default Windows.Color_3Dface value), that color is always used to display the tab, regardless of the background color of the sheet.

If the value of the tabActiveColor property is set to the default Windows.Color_3DFace value, the tab is displayed in the same color as the background color of the sheet.

The tabs of folders and tables display a roll-over effect.

Moving the mouse over an inactive sheet tab causes the tab to be drawn using the Windows Info background color defined for the workstation.

If there are multiple tab rows on a Table control, the active tab is drawn three pixels higher, as shown in the following example.

If there are multiple rows on a folder, the active tab is slightly enlarged left and right by three pixels (unless it is on the edge of the table), to further highlight that it is the active tab.

The following is an example of a Folder control that has multiple tab rows.

If the value of the borderStyle property for the active sheet of a Folder control is set to any value other than BorderStyle_None, the folder does not display a border of its own for the sheet area.