TXTextControl.FontStrikethru Property

Returns or sets the strike thru font style. At design time the property determines the style of the complete text. At runtime the property gets or sets the style of the selected text if the FormatSelection property has been set to True. If the FormatSelection property has been set to False the style setting is made for the complete text.

Syntax

TXTextControl.FontStrikethru [= value]
Setting Description
0 Resets the strike thru font style to normal or indicates that no character is formatted with the strike thru font style.
1 Sets all characters to the strike thru font style or indicates that all characters are formatted with the strike thru font style.
2 Indicates that the selection contains a mix of characters that have or have not the strike thru font style. This value is only possible at runtime and when the FormatSelection property has been set to True.

Data Types

Integer.

See Also