TX Text Control ActiveX

FieldHighlightMode Property

Property

This property returns or sets the highlight mode of a text field. Text fields can be highlighted always, never or only when the field is activated, which means that it contains the current text input position.

Introduced: 27.0.

Syntax

TXTextControl.FieldHighlightMode(FieldId) [= Mode]

Parameters

ParameterDescription
FieldIdIdentifies the field which highlight mode is returned or set.

Constants

The following lists the possible property values:

ConstantDescription
1 - txNeverThe text field is not highlighted.
2 - txActivatedThe text field is only highlighted when it contains the current text input position.
3 - txAlwaysThe text field is always highlighted.

Data Types

NameData type
FieldIdInteger
Property valueInteger

Limitations

Run time only.

See Also