TX Text Control ActiveX

Locale Property

Property

Specifies a language for the selected text.

Introduced: 20.0.

Syntax

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

Data Types

Long.

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.

See Also