
This property gets or sets the display colors of a TextControl. 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 text control's PageViewStyle property has been set to txGradientColors.
Introduced: 15.1.
TXTextControl.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 TextControlColor enumeration. Possible values are listed in Constants. |
Valid values for the index parameter are:
| Constant | Description | |
| txDesktopColor (0) | Gets or sets the display color for the area around the pages. | |
| txLightShadowColor (1) | Gets or sets the display color for the shadow at the left and the top edge of the pages. | |
| txDarkShadowColor (2) | Gets or sets the display color for the shadow at the right and the bottom edge of the pages. |
| index: | Integer |
| Property value: | Long |
Run time only.