Text Fields

Properties

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

Methods

Method Description
TXTextControl.TXTextControl.FieldDelete Deletes the marked text field specified by the FieldCurrent property, or changes it to simple text.
TXTextControl.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.TXTextControl.FieldInsert Inserts a new marked text field at the current caret position.
TXTextControl.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.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.TXTextControl.FieldChanged Occurs when the text of a marked text field has been changed.
TXTextControl.TXTextControl.FieldClicked Occurs when a marked text field has been clicked on.
TXTextControl.TXTextControl.FieldCreated Occurs when a marked text field has been pasted from the clipboard.
TXTextControl.TXTextControl.FieldDblClicked Occurs when a marked text field has been double-clicked on.
TXTextControl.TXTextControl.FieldDeleted Occurs when a marked text field has been deleted.
TXTextControl.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.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.TXTextControl.FieldSetCursor Occurs when the cursor is moved over a marked text field.