FieldInsert Method
Inserts a new marked text field at the current caret position.
Syntax
TXTextControl.FieldInsert FieldText
Parameters
| Parameter | Description |
|---|---|
| FieldText | Specifies the text contents for the new marked text field. |
Return Value
The method returns True if a field could be inserted, otherwise it returns False.
Data Types
| Name | Data type |
|---|---|
| FieldText | String |
| Return value | Boolean |
Examples
See the description of the FieldCurrent property.
Remarks
Inserting a marked text field changes the value of the FieldCurrent property to the identifier of the newly created field.