TXTextControl.TXTextControl.FormatSelection Property

Specifies whether character and paragraph formatting properties apply to the whole text or to a particular selection only.

Syntax

TXTextControl.FormatSelection [= boolean]
Setting Description
True    The formatting properties only apply to selected text. This mode works only at run time, because at design time it is not possible to select text.
False    (Default) The formatting properties apply to the complete text.

Remarks

The properties which are affected are Alignment, BaseLine, FontBold, FontItalic, FontName, FontSize, FontStrikethru, FontUnderline, FontUnderlineStyle, LineSpacing, LineSpacingT, ForeColor, TextBkColor, TextDirection, Justification.

Data Types

Boolean.

See Also