TX Text Control ActiveX

FormatSelection Property

Property

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

Syntax

TXTextControl.FormatSelection [= boolean]
SettingDescription
TrueThe 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.

Data Types

Boolean.

Remarks

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

See Also