TXTextControl.TXStatusBar.DisplayColor Property

This property gets or sets the display colors of a status bar. By default the display colors depend on sytem colors. With this property all colors can be individually designed. The colors are only used when the status bar's Appearance property has been set to txColorScheme or txVerticalColorScheme.

Introduced: 15.1.

Syntax

TXStatusBar.DisplayColor(index) [= color]
Parameter Description
index

Determines the index of the display element the color of which is changed. It must be a value of the StatusBarColor enumeration. Possible values are listed in Constants.

Constants

Valid values for the index parameter are:

Constant Description
sbForeColor (0)

Gets or sets the color used for text and numbers.

sbBackColor (1)

Gets or sets the background color at the left edge of the status bar. This color is only used, if the Appearance property has been set to txColorScheme.

sbGradientBackColor (2)

Gets or sets the background color at the right edge of the status bar. This color is only used, if the Appearance property has been set to txColorScheme.

sbFrameColor (3)

Gets or sets the color of the status bar's frames. This color is only used, if the Appearance property has been set to txColorScheme.

sbBackColorTop (4)

Gets or sets the background color at the top of the status bar. This color is only used, if the Appearance property has been set to txVerticalColorScheme.

sbBackColorMiddle (5)

Gets or sets the background color in the middle of the status bar. This color is only used, if the Appearance property has been set to txVerticalColorScheme.

sbBackColorBottom (6)

Gets or sets the background color at the bottom of the status bar. This color is only used, if the Appearance property has been set to txVerticalColorScheme.

sbSeparatorColorLight (7)

Gets or sets the color of the dark part of a separator. This color is only used, if the Appearance property has been set to txVerticalColorScheme.

sbSeparatorColorDark (8)

Gets or sets the color of the light part of a separator. This color is only used, if the Appearance property has been set to txVerticalColorScheme.

Data Types

index: Integer
Property value: Long

Limitations

Run time only.

See Also