TXTextControl.FieldInsert Method

Inserts a new marked text field at the current caret position.

Syntax

TXTextControl.FieldInsert FieldText
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.

Remarks

Inserting a marked text field changes the value of the FieldCurrent property to the identifier of the newly created field.

Data Types

FieldText:    String
Return value:    Boolean

Example

See the description of the FieldCurrent property.

See Also