TX Text Control ActiveX Documentation

TXTextControl.FieldInsert Method

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

Syntax

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

Selected text can be converted to a marked text field by using an empty string as FieldText. 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

 
 
 

Products

Support

Downloads

Corporate

Buy Now