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, AxEXSTATUSBARLib._IStatusBarEvents_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: AxEXSTATUSBARLib._IStatusBarEvents_AnchorClickEvent); begin end; begin event AnchorClick(string AnchorID,string Options) end event AnchorClick Private Sub AnchorClick(ByVal sender As System.Object, ByVal e As AxEXSTATUSBARLib._IStatusBarEvents_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(oStatusBar,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 the identifier of the hyperlink being clicked:
Private Sub StatusBar1_AnchorClick(ByVal AnchorID As String, ByVal Options As String) Debug.Print AnchorID End Sub
The following VB.NET sample displays the identifier of the hyperlink being clicked:
Private Sub AxStatusBar1_AnchorClick(ByVal sender As Object, ByVal e As AxEXSTATUSBARLib._IStatusBarEvents_AnchorClickEvent) Handles AxStatusBar1.AnchorClick Debug.Print(e.anchorID) End Sub
The following C# sample displays the identifier of the hyperlink being clicked:
private void axStatusBar1_AnchorClick(object sender, AxEXSTATUSBARLib._IStatusBarEvents_AnchorClickEvent e) { System.Diagnostics.Debug.WriteLine(e.anchorID); }
The following C++ sample displays the identifier of the hyperlink being clicked:
void OnAnchorClickStatusbar1(LPCTSTR AnchorID, LPCTSTR Options) { MessageBox( AnchorID ); }
The following VFP sample displays the identifier of the hyperlink being clicked:
*** ActiveX Control Event *** LPARAMETERS panel with panel .Text = LTrim(RTrim(.Percent)) + "%" endwith