Text Fields

Properties

Property Description
TXTextControl.FieldAtInputPos Returns the field identifier of the field containing the input position.
TXTextControl.FieldChangeable Specifies if the contents of a marked text field can be changed by the user.
TXTextControl.FieldCurrent Returns or sets the identifier of the current marked text field for the Fieldxxx properties, methods and events.
TXTextControl.FieldData This property relates numeric or string data to a marked text field.
TXTextControl.FieldDeleteable Specifies whether a marked text field can be deleted by the user.
TXTextControl.FieldEditAttr This property returns or sets attributes for advanced editing inside marked text fields.
TXTextControl.FieldEnd Returns the end position of a marked text field.
TXTextControl.FieldHighlightColor This property returns or sets the highlight color of a text field.
TXTextControl.FieldHighlightMode This property returns or sets the highlight mode of a text field.
TXTextControl.FieldHighlightTransparency This property returns or sets the transparency of a text field's highlight color.
TXTextControl.FieldLinkTargetMarkers Gets or sets a value indicating that markers for hypertext targets are shown or not.
TXTextControl.FieldPosX Returns the horizontal position of a marked text field.
TXTextControl.FieldPosY Returns the vertical position of a marked text field.
TXTextControl.FieldStart Specifies the start position of a marked text field.
TXTextControl.FieldText Returns or sets the text which is contained within a marked text field.

Methods

Method Description
TXTextControl.FieldDelete Deletes the marked text field specified by the FieldCurrent property, or changes it to simple text.
TXTextControl.FieldGoto Sets the current input position to the beginning of the specified marked text field and scrolls the text so that this position is at the top of the control's visible text.
TXTextControl.FieldInsert Inserts a new marked text field at the current caret position.
TXTextControl.FieldNext This method returns the identifier of the marked text field that follows the specified field in the Text Control's current text.
TXTextControl.FieldSetInputPos If the current text input position is a position at the beginning or at the end of a marked text field with a doubled input position, this method can be used to define whether the position is inside or outside the field.

Events

Event Description
TXTextControl.FieldChanged Occurs when the text of a marked text field has been changed.
TXTextControl.FieldClicked Occurs when a marked text field has been clicked on.
TXTextControl.FieldCreated Occurs when a marked text field has been pasted from the clipboard.
TXTextControl.FieldDblClicked Occurs when a marked text field has been double-clicked on.
TXTextControl.FieldDeleted Occurs when a marked text field has been deleted.
TXTextControl.FieldEntered Occurs when the current input position, indicated by the caret, has been moved to a position that belongs to a marked text field.
TXTextControl.FieldLeft Occurs when the current input position indicated by the caret has been moved to a position that does not belong to the marked text field at the previous input position.
TXTextControl.FieldSetCursor Occurs when the cursor is moved over a marked text field.