TXTextControl.FieldInsert Method

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


TXTextControl.FieldInsert FieldText
Parameter Description

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.


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


See the description of the FieldCurrent property.

See Also