TX Text Control ActiveX Documentation

TXTextControl.FieldNext Method

This method returns the identifier of the marked text field that follows the specified field in the Text Control's current text. It can be used to find the next field in the text or to enumerate all fields. In a list of linked Text Controls the search is performed in all controls.

Syntax

TXTextControl.FieldNext FieldId, FieldGroup
ParameterDescription
FieldId

Specifies a field identifier. If this parameter is zero the first field's identifier is returned.

FieldGroup

This parameter can be the sum of one or more constants used to seperate fields with certain attributes. Valid values are described in the following list. If FieldGroup is zero, the method enumerates all fields.


ValueDescription
0Returns the identifiers of all fields.
&H1Returns only identifiers of fields which are both changeable and deleteable.
&H2Returns only identifiers of fields which are unchangeable.
&H4Returns only identifiers of fields which are undeleteable.
&H100Returns only identifiers of fields which have the type txFieldLinkTarget.
&H200Returns only identifiers of fields which have the type txFieldExternalLink.
&H400Returns only identifiers of fields which have the type txFieldInternalLink.
&H800Returns only identifiers of fields which have the type txFieldPageNumber.
&H1000Returns only identifiers of fields which have the type txFieldHighlight.
&H2000Returns only identifiers of fields which have the type txFieldTopic.
&H8000Returns only identifiers of fields which have the type txFieldMSWord.
&H10000Returns only identifiers of fields which have the type txFieldHighEdit.

Data Types

FieldId:Integer
FieldGroup:Integer
Return value:Integer

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now