TX Text Control ActiveX

Form Fields

Topic

Form fields turn a TXTextControl document into a form the user fills in: text fields, check boxes, combo boxes, drop-down lists and date fields. The members below insert each kind, set its items, check characters and date formats and report the user's input.

Properties

MemberDescription
TXTextControl.FormFieldCheckedCharThis property sets or returns the character which is used to display a checkbox in the checked state.
TXTextControl.FormFieldCheckedCharsThis property returns possible characters which can be used to display the checkbox in the checked state.
TXTextControl.FormFieldDateThis property sets or returns the date of a date field.
TXTextControl.FormFieldDateFormatThis property sets or returns the format string which is used to display the date of a date field.
TXTextControl.FormFieldDateFormatsThis property returns format picture strings which can be used to format the date.
TXTextControl.FormFieldEmptyWidthThis 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.FormFieldItemsThis property sets or returns the items of a combobox or dropdown list as a sequence of strings, separated through TAB (9) characters.
TXTextControl.FormFieldUncheckedCharThis property sets or returns the character which is used to display a checkbox in the unchecked state.
TXTextControl.FormFieldUncheckedCharsThis property returns possible characters which can be used to display the checkbox in the unchecked state.

Methods

MemberDescription
TXTextControl.FormCheckBoxInsertThis method inserts a checkbox field into the document at the current text input position.
TXTextControl.FormComboBoxInsertThis method inserts a combobox into the document at the current text input position.
TXTextControl.FormDateFieldInsertThis method inserts a date field into the document at the current text input position.
TXTextControl.FormDropDownListInsertThis method inserts a dropdown list into the document at the current text input position.
TXTextControl.FormFieldDialogThis method opens a built-in dialog box to set formatting attributes for the specified form field.
TXTextControl.FormTextFieldInsertThis method inserts a text input field for a form into the document at the current text input position.

Events

MemberDescription
TXTextControl.FormCheckStateChangedOccurs when the check state of a checkbox has been changed.
TXTextControl.FormDateChangedOccurs after the date of a date formfield has been changed.
TXTextControl.FormFieldTextChangedOccurs after the text of a text formfield has been changed.
TXTextControl.FormSelectedItemChangedOccurs after the selected item of a combobox or a dropdown list has been changed.