FieldHighlightMode 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
| Parameter | Description |
|---|---|
| FieldId | Identifies the field which highlight mode is returned or set. |
Constants
The following lists the possible property values:
| Constant | Description |
|---|---|
| 1 - txNever | The text field is not highlighted. |
| 2 - txActivated | The text field is only highlighted when it contains the current text input position. |
| 3 - txAlways | The text field is always highlighted. |
Data Types
| Name | Data type |
|---|---|
| FieldId | Integer |
| Property value | Integer |
Limitations
Run time only.