TXTextControl.TXTextControl.FrameColor Property

Returns or sets the background color for selected paragraphs. Text Control uses the Microsoft Windows operating enviroment red-green-blue (RGB) color scheme.

Introduced: 24.0.

Syntax

TXTextControl.FrameColor [= value]

Remarks

The FrameColor property applies only to the currently selected paragraphs. The BackColor property can be used to set the window background color. The valid range for a RGB color is 0 to &HFFFFFF. The high byte of a number in this range equals 0; the lower 3 bytes, from least to most significant byte, determine the amount of red, green, and blue, respectively. The red, green, and blue components are each represented by a number between 0 and 255 (&HFF).

Data Types

Long.

See Also