TX Text Control ActiveX Documentation

TXTextControl.DisplayColor Property

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.

Syntax

TXTextControl.DisplayColor(index) [= color]
ParameterDescription
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.

Constants

Valid values for the index parameter are:

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

Data Types

index:Integer
Property value:Long

Limitations

Run time only.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now