This property gets or sets the display colors of a ruler 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 ruler bar's Appearance property has been set to txColorScheme.
Introduced: 15.1.
TXButtonBar.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 RulerBarColor enumeration. Possible values are listed in Constants. |
Valid values for the index parameter are:
Constant | Description | |
rlForeColor (0) |
Gets or sets the color used for the numbers of the ruler. |
|
rlBackColor (1) |
Gets or sets the background color at the left or top edge of the ruler bar. |
|
rlGradientBackColor (2) |
Gets or sets the background color at the right or bottom edge of the ruler bar. |
|
rlSeparatorColorLight (3) |
Gets or sets the color of light separators. |
|
rlSeparatorColorDark (4) |
Gets or sets the color of dark separators. |
|
rlRulerColor (5) |
Gets or sets the color of the ruler. |
index: | Integer |
Property value: | Long |
Run time only.
<< TXRulerBar.Direction Property | >> TXRulerBar.Enabled Property