TX Text Control ActiveX

ViewClicked Event

Event

Occurs when a marked text field for which hyperlink data has been stored, is clicked on. It occurs only if the EnableHyperlinks property is set to True.

Syntax

ViewClicked(FieldType, FieldContents)

Parameters

ParameterDescription
FieldTypeSpecifies the type of a field as an identifier. It can be one of the following values:
FieldContentsIs a string that represents the contents of the field. The specification depends on the field's type and on the type of the document.

FieldType

CodeMeaning
0 - 19Specifies fields that represent links to text positions within the same document (RTF only).
20 - 39Specifies buttons that represent link positions (RTF only).
100Specifies a field that is a link to a position in the same document (HTML only).
101Specifies a field that is a link to an external position (HTML only).

Data Types

NameData type
FieldTypeInteger
FieldContentsString

Remarks

This event is sent before a FieldClicked event is sent.

See Also