event AnchorClick (AnchorID as String, Options as String)
Occurs when an anchor element is clicked.
Type
Description
AnchorID as String
A string expression that indicates the identifier of the anchor
Options as String
A string expression that specifies options of the anchor element.
The control fires the AnchorClick event to notify that the user clicks an anchor element. An anchor is a piece of text or some other object (for example an image) which marks the beginning and/or the end of a hypertext link. The
<a>
element is used to mark that piece of text (or inline image), and to give its hypertextual relationship to other documents. The AnchorClick event is fired only if prior clicking the control it shows the hand cursor. For instance, if the cell is disabled, the hand cursor is not shown when hovers the anchor element, and so the AnchorClick event is not fired. Use the
FormatAnchor
property to specify the visual effect for anchor elements. For instance, if the user clicks the anchor
<a1>anchor</a>
, the control fires the AnchorClick event, where the AnchorID parameter is 1, and the Options parameter is empty. Also, if the user clicks the anchor
<a 1;yourextradata>anchor</a>
, the AnchorID parameter of the AnchorClick event is 1, and the Options parameter is "yourextradata".
Send comments on this topic.
© 1999-2008
Exontrol Inc, Software
. All rights reserved.