Type | Description | |||
AnchorID as String | A string expression that indicates the identifier of the anchor | |||
Options as String | Reserved. |
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.
Syntax for AnchorClick event, /NET version, on:
private void AnchorClick(object sender,string AnchorID,string Options) { } Private Sub AnchorClick(ByVal sender As System.Object,ByVal AnchorID As String,ByVal Options As String) Handles AnchorClick End Sub |
private void AnchorClick(object sender, AxEXSKINBOXLib._IMsgBoxEvents_AnchorClickEvent e) { } void OnAnchorClick(LPCTSTR AnchorID,LPCTSTR Options) { } void __fastcall AnchorClick(TObject *Sender,BSTR AnchorID,BSTR Options) { } procedure AnchorClick(ASender: TObject; AnchorID : WideString;Options : WideString); begin end; procedure AnchorClick(sender: System.Object; e: AxEXSKINBOXLib._IMsgBoxEvents_AnchorClickEvent); begin end; begin event AnchorClick(string AnchorID,string Options) end event AnchorClick Private Sub AnchorClick(ByVal sender As System.Object, ByVal e As AxEXSKINBOXLib._IMsgBoxEvents_AnchorClickEvent) Handles AnchorClick End Sub Private Sub AnchorClick(ByVal AnchorID As String,ByVal Options As String) End Sub Private Sub AnchorClick(ByVal AnchorID As String,ByVal Options As String) End Sub LPARAMETERS AnchorID,Options PROCEDURE OnAnchorClick(oMsgBox,AnchorID,Options) RETURN |
<SCRIPT EVENT="AnchorClick(AnchorID,Options)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function AnchorClick(AnchorID,Options) End Function </SCRIPT> Procedure OnComAnchorClick String llAnchorID String llOptions Forward Send OnComAnchorClick llAnchorID llOptions End_Procedure METHOD OCX_AnchorClick(AnchorID,Options) CLASS MainDialog RETURN NIL void onEvent_AnchorClick(str _AnchorID,str _Options) { } function AnchorClick as v (AnchorID as C,Options as C) end function function nativeObject_AnchorClick(AnchorID,Options) return |