Type | Description |
private void DblClick(object sender) { } Private Sub DblClick(ByVal sender As System.Object) Handles DblClick End Sub |
private void DblClick(object sender, EventArgs e) { } void OnDblClick() { } void __fastcall DblClick(TObject *Sender) { } procedure DblClick(ASender: TObject; ); begin end; procedure DblClick(sender: System.Object; e: System.EventArgs); begin end; begin event DblClick() end event DblClick Private Sub DblClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DblClick End Sub Private Sub DblClick() End Sub Private Sub DblClick() End Sub LPARAMETERS nop PROCEDURE OnDblClick(oExShellView) RETURN |
<SCRIPT EVENT="DblClick()" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function DblClick() End Function </SCRIPT> Procedure OnComDblClick Forward Send OnComDblClick End_Procedure METHOD OCX_DblClick() CLASS MainDialog RETURN NIL void onEvent_DblClick() { } function DblClick as v () end function function nativeObject_DblClick() return |
The following VB6 sample opens the file being double clicked.
Private Sub ExShellView1_DblClick() With ExShellView1 .Objects.Get (SelectedItems) With ExShellView1.Objects If (.Count > 0) Then Dim i As EXSHELLVIEWLibCtl.ExShellObject Set i = .Item(0) If (Not i.Attribute(IsFolder)) Then i.InvokeCommand ("Open") End If End If End With End With End Sub