TX Text Control ActiveX

DisplayColor Property

Property

This property gets or sets the display colors of a status bar. By default the display colors depend on system 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 sbColorScheme or sbVerticalColorScheme.

Introduced: 15.1.

Syntax

TXStatusBar.DisplayColor(index) [= color]

Parameters

ParameterDescription
indexDetermines 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:

ConstantDescription
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 sbColorScheme.
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 sbColorScheme.
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 sbColorScheme.
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 sbVerticalColorScheme.
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 sbVerticalColorScheme.
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 sbVerticalColorScheme.
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 sbVerticalColorScheme.
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 sbVerticalColorScheme.

Data Types

NameData type
indexInteger
Property valueLong

Limitations

Run time only.

See Also