Tab Line Color (TabLineColor)

Color of the line displayed under tabs in the tab strip. It is ignored if the widget has a frame.

"TabLineColor=ColorName | HexColorNumber"

Value

Description

ColorName

Name of a web color or system color. For more information, see Standard Colors .

HexColorNumber

Hexadecimal number (prefixed by a hash mark) of a color. For example: #D90E1A.

RGBColor

RGB (Red Green Blue) numeric values in the form R,G,B. For example 255,0,0

Usage

Dynamic?

Yes

Supported in Grid?

No

Dependencies:

Overridden if Frame is true.

Description

In addition to setting the tab line color, you can specify the width of the tab line using TabLineWidth and define a different color for the tab line under the current tab using ActiveTabLineColor.

The TabLineColor and related tabling properties are overridden if Frame is true.

Using in ProcScript

You can use $properties or $fieldproperties to set or get the property and its value. For more information, see $properties and $fieldproperties.

$fieldproperties(FLD) = "tablinecolor=red"

Tab Line Color and Width

The following ProcScript sets the TabLineColor to red and the TabLineWidth to 4 pixels:

vProperties = "" ; string variable to contain widget properties

; Create list of properties
putitem/id vProperties,"tablinecolor","red"
putitem/id vProperties,"TabLineWidth","4"

;Assign propoperties list to field TAB
$fieldproperties(TAB) = vProperties
4-Pixel, Red Tab Line

4-Pixel, Red Tab Line

Applies To

utabex (TabEx)

Related Topics