New Properties, Methods and Events

In TX Text Control 28.0 the following new properties, methods and events have been added:

Properties

Property Description
TXTextControl.FormFieldCheckedChar This property sets or returns the character which is used to display a checkbox in the checked state.
TXTextControl.FormFieldCheckedChars This property returns possible characters which can be used to display the checkbox in the checked state.
TXTextControl.FormFieldDate This property sets or returns the date of a date field.
TXTextControl.FormFieldDateFormat This property sets or returns the format string which is used to display the date of a date field.
TXTextControl.FormFieldDateFormats This property returns format picture strings which can be used to format the date.
TXTextControl.FormFieldEmptyWidth This property sets or returns the width of a combobox, dropdown list, date field or form textfield which is used when the field is empty.
TXTextControl.FormFieldItems This property sets or returns the items of a combobox or dropdown list as a sequence of strings, separated through TAB (9) characters.
TXTextControl.FormFieldUncheckedChar This property sets or returns the character which is used to display a checkbox in the unchecked state.
TXTextControl.FormFieldUncheckedChars This property returns possible characters which can be used to display the checkbox in the unchecked state.
TXTextControl.TargetAtInputPos Returns the target identifier of the target at the current text input position.
TXTextControl.TargetData This property relates numeric or string data to a link target.
TXTextControl.TargetName Returns or sets the name of a link target.
TXTextControl.TargetPos Returns the position of a target.
TXTextControl.TargetStart Returns the target's character index, one-based, in the document.

Methods

Method Description
TXTextControl.FormCheckBoxInsert This method inserts a checkbox field into the document at the current text input position.
TXTextControl.FormComboBoxInsert This method inserts a combobox into the document at the current text input position.
TXTextControl.FormDateFieldInsert This method inserts a date field into the document at the current text input position.
TXTextControl.FormDropDownListInsert This method inserts a dropdown list into the document at the current text input position.
TXTextControl.FormTextFieldInsert This method inserts a text input field for a form into the document at the current text input position.
TXTextControl.TargetDelete This method can be used to delete a link target or bookmark from the document.
TXTextControl.TargetGoto Sets the current text input position to the position of the specified link target and scrolls the text so that this position is at the top of the control's visible text.
TXTextControl.TargetInsert This method inserts a new link target or bookmark in the text at the current text input position.
TXTextControl.TargetNext This method returns the identifier of the link target that follows the specified target in the Text Control's current text.

Events

Event Description
TXTextControl.FormCheckStateChanged Occurs when the check state of a checkbox has been changed.
TXTextControl.FormDateChanged Occurs after the date of a date formfield has been changed.
TXTextControl.FormFieldTextChanged Occurs after the text of a text formfield has been changed.
TXTextControl.FormSelectedItemChanged Occurs after the selected item of a combobox or a dropdown list has been changed.
TXTextControl.TargetCreated Occurs when a link target or bookmark has been created.
TXTextControl.TargetDeleted Occurs when a link target or bookmark has been deleted.