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. |
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, AxEXPRINTLib._IExPrintEvents_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: AxEXPRINTLib._IExPrintEvents_AnchorClickEvent); begin end; begin event AnchorClick(string AnchorID,string Options) end event AnchorClick Private Sub AnchorClick(ByVal sender As System.Object, ByVal e As AxEXPRINTLib._IExPrintEvents_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(oPrint,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 |
The following VB sample displays a message that specifies the hyperlink being clicked:
Private Sub Print1_AnchorClick(ByVal AnchorID As String, ByVal Options As String) MsgBox AnchorID End Sub
The ToolBarFormat property is set as:
Print1.ToolBarFormat = "-1,100,101,102,-1,103,-1,104,-1,105,|,""<aexontrol>https://www.exontrol.com</a>""[a=18]:164"
The following VB/NET sample displays a message that specifies the hyperlink being clicked:
Private Sub Exprint1_AnchorClick(ByVal sender As System.Object, ByVal AnchorID As System.String, ByVal Options As System.String) Handles Exprint1.AnchorClick MsgBox(AnchorID) End Sub
The ToolBarFormat property is set as:
Exprint1.ToolBarFormat = "-1,100,101,102,-1,103,-1,104,-1,105,|,""<aexontrol>https://www.exontrol.com</a>""[a=18]:164"