Occurs when the user clicks the list.
Type | Description |
Use the Click event to notify your application when the user clicks the list. Use the MouseDown or MouseUp event to notify your application when the user presses or releases the one of the mouse buttons. The View property specifies the view where the event occurs. The ViewFromPoint property retrieves the view from the point. The ViewItemFromPoint property retrieves the view and item from the point. The ViewColumnFromPoint property retrieves the view and column from the point. The ColumnFromPoint property retrieves the column from the point.
Syntax for Click event, /NET version, on:
private void Click(object sender) { } Private Sub Click(ByVal sender As System.Object) Handles Click End Sub |
private void ClickEvent(object sender, EventArgs e) { } void OnClick() { } void __fastcall Click(TObject *Sender) { } procedure Click(ASender: TObject; ); begin end; procedure ClickEvent(sender: System.Object; e: System.EventArgs); begin end; begin event Click() end event Click Private Sub ClickEvent(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ClickEvent End Sub Private Sub Click() End Sub Private Sub Click() End Sub LPARAMETERS nop PROCEDURE OnClick(oCascadeTree) RETURN |
<SCRIPT EVENT="Click()" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function Click() End Function </SCRIPT> Procedure OnComClick Forward Send OnComClick End_Procedure METHOD OCX_Click() CLASS MainDialog RETURN NIL void onEvent_Click() { } function Click as v () end function function nativeObject_Click() return |