# What's New in TX Text Control ActiveX 28.0

> TX Text Control ActiveX 28.0: 32-bit and 64-bit versions, form fields such as check boxes and date fields, and link targets that are no longer text fields.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > What's New > Older Versions > What's New in TX Text Control ActiveX 28.0
- **2853 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2800/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2800/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2800/llms-full.txt

---

TX Text Control ActiveX 28.0 is the first version shipped in 32-bit and 64-bit editions. It also added form fields for designing and filling forms, and it reworked link targets and bookmarks in a way that requires changes to existing code. The sections below list what version 28.0 added and changed since version 27.0, and what to adapt when you upgrade.

### New Features

- **32-bit and 64-bit versions.** TX Text Control ActiveX now ships as a 32-bit and a 64-bit version. Both versions can be registered on the same computer and share the same GUIDs. The Microsoft Foundation Classes library has been updated from version 6.0 to version 9.0 (MFC90U.DLL).
- **Form fields.** Special form fields support designing and filling forms. [FormTextFieldInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formtextfieldinsert-method/llms-full.txt), [FormCheckBoxInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formcheckboxinsert-method/llms-full.txt), [FormComboBoxInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formcomboboxinsert-method/llms-full.txt), [FormDropDownListInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formdropdownlistinsert-method/llms-full.txt) and [FormDateFieldInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formdatefieldinsert-method/llms-full.txt) insert them.


    - **Text form fields** are text input fields of a form. An empty one can be set to a specified width, so that the end user sees where to enter text.
    - **Check boxes** are checked or unchecked by the end user. The field itself can't be edited: its text is set either to the Unicode character for the checked state or to the character for the unchecked state.
    - **Combo boxes and drop-down lists** offer the end user a list of items to select from. The text of a combo box can be edited as well.
    - **Date fields** manage and format a date. The end user selects the date in a date control or enters it as text.
    - **Field data.** Several properties change field-specific data, such as the items, the date, the date format or the check box characters. The programming category [Form Fields](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/form-fields/llms-full.txt) lists them.
    - **Field identifiers.** The field identifier that [FieldCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldcurrent-property/llms-full.txt) provides works with all `Field...` properties and methods, such as [FieldText](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtext-property/llms-full.txt) and [FieldDelete](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddelete-method/llms-full.txt).
    - **Events.** New events report that the content of a form field has changed. [FormCheckStateChanged](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formcheckstatechanged-event/llms-full.txt) and [FormDateChanged](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formdatechanged-event/llms-full.txt) report a changed check state or date, [FormSelectedItemChanged](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formselecteditemchanged-event/llms-full.txt) a new selected item of a combo box or drop-down list, and [FormFieldTextChanged](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfieldtextchanged-event/llms-full.txt) occurs when the text of a text form field has changed.
    - **Protected documents.** The [DocumentPermissions](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/documentpermissions-property/llms-full.txt) property has been extended with the **txAllowEditingFormFields** setting, so that form fields can be edited when [EditMode](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editmode-property/llms-full.txt) is changed from **Edit** to **Protected** or **Password Protected**.
    - **File formats.** Form fields are saved and loaded with the TX Text Control format (.tx) and with the .doc, .docx and .rtf formats.
    - **Microsoft Word form fields.** Depending on the **txLoadMSWordFields** and **txLoadFormFields** attributes of the [LoadSaveAttribute](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/loadsaveattribute-property/llms-full.txt) property, Microsoft Word form fields are converted either to TX Text Control form fields or to fields of the type **txFieldMSWord**. When both attributes are True, check boxes, text form fields, combo boxes, drop-down lists and date fields are converted to TX Text Control form fields, and all other fields are converted to text fields of the type **txFieldMSWord**.

    ![A form with shaded text form fields for a name, a phone number, a date of birth and a state in the TXWords sample of TX Text Control ActiveX 34.0.](https://docs.textcontrol.com/assets/img/tx-text-control-activex/form-fields-document.3a9439ba.webp)
- **Link targets and bookmarks.** A link target or bookmark can now be inserted at any text position, even inside a text field or hypertext link or at its beginning or end. Several targets can be inserted at the same text position. A new set of properties and methods handles targets and bookmarks; [Link Targets and Bookmarks](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/link-targets-bookmarks/llms-full.txt) lists them. See [Update Notes](#update-notes) for the change this requires in existing code.

### New Properties, Methods and Events

Version 28.0 adds members to `TXTextControl` for form fields and for link targets and bookmarks.

#### Properties

| Member | Description |
|---|---|
| [TXTextControl.FormFieldCheckedChar](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfieldcheckedchar-property/llms-full.txt) | Sets or returns the character that displays a check box in the checked state. |
| [TXTextControl.FormFieldCheckedChars](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfieldcheckedchars-property/llms-full.txt) | Returns the characters that can display a check box in the checked state. |
| [TXTextControl.FormFieldDate](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielddate-property/llms-full.txt) | Sets or returns the date of a date field. |
| [TXTextControl.FormFieldDateFormat](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielddateformat-property/llms-full.txt) | Sets or returns the format string that displays the date of a date field. |
| [TXTextControl.FormFieldDateFormats](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielddateformats-property/llms-full.txt) | Returns format picture strings that can format the date. |
| [TXTextControl.FormFieldEmptyWidth](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfieldemptywidth-property/llms-full.txt) | Sets or returns the width of a combo box, drop-down list, date field or text form field that is used when the field is empty. |
| [TXTextControl.FormFieldItems](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielditems-property/llms-full.txt) | Sets or returns the items of a combo box or drop-down list as a sequence of strings separated by TAB (9) characters. |
| [TXTextControl.FormFieldUncheckedChar](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielduncheckedchar-property/llms-full.txt) | Sets or returns the character that displays a check box in the unchecked state. |
| [TXTextControl.FormFieldUncheckedChars](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielduncheckedchars-property/llms-full.txt) | Returns the characters that can display a check box in the unchecked state. |
| [TXTextControl.TargetAtInputPos](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetatinputpos-property/llms-full.txt) | Returns the target identifier of the target at the current text input position. |
| [TXTextControl.TargetData](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetdata-property/llms-full.txt) | Relates numeric or string data to a link target. |
| [TXTextControl.TargetName](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetname-property/llms-full.txt) | Returns or sets the name of a link target. |
| [TXTextControl.TargetPos](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetpos-property/llms-full.txt) | Returns the position of a target. |
| [TXTextControl.TargetStart](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetstart-property/llms-full.txt) | Returns the target's character index, one-based, in the document. |

#### Methods

| Member | Description |
|---|---|
| [TXTextControl.FormCheckBoxInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formcheckboxinsert-method/llms-full.txt) | Inserts a check box field into the document at the current text input position. |
| [TXTextControl.FormComboBoxInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formcomboboxinsert-method/llms-full.txt) | Inserts a combo box into the document at the current text input position. |
| [TXTextControl.FormDateFieldInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formdatefieldinsert-method/llms-full.txt) | Inserts a date field into the document at the current text input position. |
| [TXTextControl.FormDropDownListInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formdropdownlistinsert-method/llms-full.txt) | Inserts a drop-down list into the document at the current text input position. |
| [TXTextControl.FormTextFieldInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formtextfieldinsert-method/llms-full.txt) | Inserts a text input field for a form into the document at the current text input position. |
| [TXTextControl.TargetDelete](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetdelete-method/llms-full.txt) | Deletes a link target or bookmark from the document. |
| [TXTextControl.TargetGoto](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetgoto-method/llms-full.txt) | 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](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetinsert-method/llms-full.txt) | Inserts a new link target or bookmark in the text at the current text input position. |
| [TXTextControl.TargetNext](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetnext-method/llms-full.txt) | Returns the identifier of the link target that follows the specified target in the current text of `TXTextControl`. |

#### Events

| Member | Description |
|---|---|
| [TXTextControl.FormCheckStateChanged](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formcheckstatechanged-event/llms-full.txt) | Occurs when the check state of a check box has been changed. |
| [TXTextControl.FormDateChanged](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formdatechanged-event/llms-full.txt) | Occurs after the date of a date form field has been changed. |
| [TXTextControl.FormFieldTextChanged](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfieldtextchanged-event/llms-full.txt) | Occurs after the text of a text form field has been changed. |
| [TXTextControl.FormSelectedItemChanged](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formselecteditemchanged-event/llms-full.txt) | Occurs after the selected item of a combo box or a drop-down list has been changed. |
| [TXTextControl.TargetCreated](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetcreated-event/llms-full.txt) | Occurs when a link target or bookmark has been created. |
| [TXTextControl.TargetDeleted](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/targetdeleted-event/llms-full.txt) | Occurs when a link target or bookmark has been deleted. |

### Extended Properties, Methods and Events

| Member | Change |
|---|---|
| [DocumentPermissions](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/documentpermissions-property/llms-full.txt) property | Extended with the **txAllowEditingFormFields** setting. |
| [DisplayColor](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/displaycolor-property/llms-full.txt) property | Extended with two new colors: **txFormFieldColor** is the highlight color of a form field, and **txActiveFormFieldColor** is the highlight color of the form field that contains the current text input position. |
| [FieldNext](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldnext-method/llms-full.txt) method | Extended to support the new field types **txFieldCheckBox**, **txFieldComboBox**, **txFieldFormText** and **txFieldDate**. |
| [FieldType](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtype-property/llms-full.txt) property | Extended to support the new field types **txFieldCheckBox**, **txFieldComboBox**, **txFieldFormText** and **txFieldDate**. |
| [LoadSaveAttribute](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/loadsaveattribute-property/llms-full.txt) property | Extended with the **txLoadFormFields** attribute. When it is set to True, Microsoft Word fields are converted to TX Text Control form fields, which are check boxes, text form fields, combo boxes, drop-down lists and date fields. All other Microsoft Word fields are still converted to text fields of the type **txFieldMSWord** when the **txLoadMSWordFields** attribute is set to True. |

### Update Notes

- **Link targets are no longer text fields.** To allow link targets and bookmarks at any text position, a document target is no longer a text field, and the [FieldType](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtype-property/llms-full.txt) **txFieldLinkTarget** is no longer supported. Existing code that handles targets must be adapted to the new properties and methods listed in [Link Targets and Bookmarks](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/link-targets-bookmarks/llms-full.txt).

### Related Pages

- [Version 29.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2900/llms-full.txt): tables of contents and the update to MFC 12.0.
- [Version 27.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2700/llms-full.txt): DPI awareness and highlighted text fields.
- [Form Fields](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/form-fields/llms-full.txt): all members for form fields.
- [Link Targets and Bookmarks](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/link-targets-bookmarks/llms-full.txt): the members for targets and bookmarks.
- [What's New](https://docs.textcontrol.com/tx-text-control-activex/whats-new/llms-full.txt): the changes of every TX Text Control ActiveX version.

---

## Nearby

- **Previous:** [What's New in TX Text Control ActiveX 29.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2900/llms-full.txt)
- **Next:** [What's New in TX Text Control ActiveX 27.0](https://docs.textcontrol.com/tx-text-control-activex/whats-new/older-versions/2700/llms-full.txt)
