TXTextControl.StyleCurrent Property

Returns or sets the formatting style at the current input position or, if text is selected, changes all styles of the selected text to the specified style. If text is selected and formatted with several styles the property returns an empty string. A formatting style is given through its unique name.

Syntax

TXTextControl.StyleCurrent [= StyleName]

Data Types

String.

Limitations

Run time only.

See Also