Type | Description |
The following VB sample displays information about the current context, when user right clicks the control:
Private Sub G2Host1_Context() With G2Host1 Debug.Print( .HostContext.ToString ) End With End SubSyntax for Context event, /NET version, on:
private void Context(object sender) { } Private Sub Context(ByVal sender As System.Object) Handles Context End Sub |
private void Context(object sender, EventArgs e) { } void OnContext() { } void __fastcall Context(TObject *Sender) { } procedure Context(ASender: TObject; ); begin end; procedure Context(sender: System.Object; e: System.EventArgs); begin end; begin event Context() end event Context Private Sub Context(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Context End Sub Private Sub Context() End Sub Private Sub Context() End Sub LPARAMETERS nop PROCEDURE OnContext(oG2Host) RETURN |
<SCRIPT EVENT="Context()" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function Context() End Function </SCRIPT> Procedure OnComContext Forward Send OnComContext End_Procedure METHOD OCX_Context() CLASS MainDialog RETURN NIL void onEvent_Context() { } function Context as v () end function function nativeObject_Context() return |