TXTextControl.TXTextControl.Locale Property

Specifies a language for the selected text.

Introduced: 20.0.

Syntax

TXTextControl.Locale [= value]
Setting Description
0 The language of the selected text is not specified.
&HFFFF Get only. The property returns &HFFFF, if the selected text contains parts with different language settings.
otherwise A Windows Locale identifier (LCID), identifying the language of the selected text.

Remarks

If the FormatSelection property has previously been set to True, changing this property affects only the currently selected text. If FormatSelection has been set to False, the setting applies to the entire control content.

Data Type

Long.

See Also