New Features

Text Control 28.0 provides the following new features:

Feature Description
32 and 64 bit Version The TX TextControl ActiveX is shipped now as a 32 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 have been implemented to support designing and filling forms. They can be inserted with the FormTextFieldInsert, FormCheckBoxInsert, FormComboBoxInsert, FormDropDownListInsert and FormDateFieldInsert methods. The text formfield is a text input field for a form. When it is empty it can be set to a specified width so that the end-user can see where to enter text. Checkboxes can be checked or unchecked through the end-user. The field itself cannot be edited, the field's text is set either to the Unicode character for the checked state or to the character for the unchecked state. Comboboxes and dropdown lists offer the end-user a list of items to select, additionally the text of a combobox can be edited. A date field can be used to manage and format a date. The user can select the date via a date control or through entering text. Several properties are available which can be used to alter field-specific data, such as items, date, date format or checkbox characters. See the programming category Form Fields for more information. The field identifier provided through the FieldCurrent property can be used with all Fieldxxx properties and methods such as FieldText and FieldDelete. New events have been added indicating that the contents of these new fields have been changed. The FormCheckStateChanged and FormDateChanged events inform about a changed check state or date, the FormSelectedItemChanged event about a new selected item of a combobox or dropdown list and the FormFieldTextChanged event occurs when the text of text formfield was altered. The TXTextControl.DocumentPermissions property has been extended with the txAllowEditingFormFields setting so that form fields can be edited when the EditMode is changed from Edit to Protected or Password Protected. Form fields can be saved and loaded with Textcontrol's text format (.TX) and with the .DOC, .DOCX and .RTF formats. Microsoft Word formfields are converted either to TextControl formfields or to fields of the type txFieldMSWord depending on the txLoadMSWordFields and txLoadFormFields attributes which can be set with the TXTextControl.LoadSaveAttribute property. When both attributes are True, checkboxes, form textfields, comboboxes, dropdown lists and date fields are converted to TextControl formfields, all other fields are converted to text fields of the type txFieldMSWord.
Link Targets and Bookmarks A link target or bookmark in a TextControl document can be inserted now at every text position, even inside or at the beginning or the end of textfields or hypertext links. Additionally multiple targets can be inserted at the same text position. To accomplish this, a document target is no longer a textfield and the FieldType txFieldLinkTarget is no longer supported. A new set of properties and methods have been implemented to handle targets and bookmarks and existing code must be adapted. See Link Targets and Bookmarks for a list of corresponding properties and methods.