TXTextControl.TXTextControl.EditMode Property

Specifies whether the Text Control operates in edit mode or in one of the two read-only modes.

Syntax

TXTextControl.EditMode [= value]
Setting Description
0 - Edit (Default) Edit mode. This mode can be used to edit and display text. The cursor is the text I-beam cursor.
1 - Read and Select Read-only mode. This mode can be used to display and select text. The cursor is the standard arrow cursor.
2 - Read only This mode can be used to display text only. Text input and selecting text with the mouse or the keyboard is not possible. The cursor is the standard arrow cursor.

Data Types

Integer.

See Also