TX Text Control ActiveX

FieldInsert Method

Method

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

Syntax

TXTextControl.FieldInsert FieldText

Parameters

ParameterDescription
FieldTextSpecifies 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

NameData type
FieldTextString
Return valueBoolean

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.

See Also