TX Text Control ActiveX

FieldGoto Method

Method

Sets the current input position to the beginning of the specified marked text field and scrolls the text so that this position is at the top of the control's visible text.

Syntax

TXTextControl.FieldGoto FieldType, FieldId

Parameters

ParameterDescription
FieldTypeSpecifies the type of the marked text field. See the Constants section of the FieldType property for valid values.
FieldIdIdentifies the text field to which should be scrolled. It must be a valid field identifier. For fields of the type txFieldTopic this parameter can also be a valid topic number.

Return Value

If the field could be found the method returns True, otherwise it returns False.

Data Types

NameData type
FieldTypeInteger
FieldIdInteger
Return valueBoolean

See Also