This property sets or returns the data that belongs to a marked text field of a special type. The chapter Technical Articles - Marked Text Fields - Special Types of Marked Text Fields informs about all the types and the data belonging to these types.
TXTextControl.FieldTypeData(FieldId) [= TypeData]
Parameter | Description | |
FieldId |
Identifies the field that is to be manipulated. The specified data can be a long value or a character string depending on the type of the field. For the different field types the corresponding data are listed in the following Constants section. |
The following lists the possible data for each type of field. The corresponding data type is listed in Data Types:
Constant | Description | |||||||||||||||||||
txFieldExternalLink (1) |
Defines the external location to where the link points. |
|||||||||||||||||||
txFieldInternalLink (2) |
Defines the location in the same document to where the link points. |
|||||||||||||||||||
txFieldPageNumber (3) |
Defines the starting number and the number format. To display the number in a certain format the following constants can be added to the starting number:
|
|||||||||||||||||||
txFieldHighlight (5) |
Defines the color of the highlight. |
|||||||||||||||||||
txFieldTopic (6) |
Defines the number of the topic. |
|||||||||||||||||||
txFieldMSWord (7) |
Defines the type name and parameters of a Microsoft Word field as a sequence of strings, separated through TAB (9) characters. The first string specifies the type name of the field (for example: MERGEFIELD). The following strings are the field's parameters which can be arguments and switches. Each switch begins with a backslash. |
|||||||||||||||||||
txFieldHighEdit (8) |
Defines the name and parameters of the Heiler Highedit field as a sequence of strings, separated through TAB (9) characters. |
|||||||||||||||||||
txFieldAllPages (9) |
Defines the number format. It can be one of the following constants:
|
FieldId: | Integer |
txFieldExternalLink | String |
txFieldInternalLink | String |
txFieldPageNumber | Long |
txFieldHighlight | Long |
txFieldTopic | Long |
txFieldMSWord | String |
txFieldHighEdit | String |
txFieldAllPages | Long |
Run time only.
The following example numbers pages with Roman numbers starting with number 3:
TXTextControl1.FieldTypeData(1) = 3 + &H60000
<< TXTextControl.FieldType Property | >> TXTextControl.Find Method