event Click (Property as Property, Button as Integer, Shift as Integer)
Occurs when the user presses and then releases the mouse button over the control.

TypeDescription
Property as Property A Property object that indicates the property being clicked.
Button as Integer An integer that identifies the button that was pressed to cause the event
Shift as Integer An integer that corresponds to the state of the SHIFT, CTRL, and ALT keys when the button specified in the button argument is pressed or released.

The Click event is fired when user clicks a property. The Property parameter gets the property being clicked. The Value property gets the property's value. The Name property gets the property's name.

Syntax for Click event, /NET version, on:

private void Click(object sender,exontrol.EXPROPERTIESLISTLib.Property Property,short Button,short Shift)
{
}

Private Sub Click(ByVal sender As System.Object,ByVal Property As exontrol.EXPROPERTIESLISTLib.Property,ByVal Button As Short,ByVal Shift As Short) Handles Click
End Sub

Syntax for Click event, /COM version, on:

private void ClickEvent(object sender, AxEXPROPERTIESLISTLib._IPropertiesListEvents_ClickEvent e)
{
}

void OnClick(LPDISPATCH Property,short Button,short Shift)
{
}

void __fastcall Click(TObject *Sender,Expropertieslistlib_tlb::IProperty *Property,short Button,short Shift)
{
}

procedure Click(ASender: TObject; Property : IProperty;Button : Smallint;Shift : Smallint);
begin
end;

procedure ClickEvent(sender: System.Object; e: AxEXPROPERTIESLISTLib._IPropertiesListEvents_ClickEvent);
begin
end;

begin event Click(oleobject Property,integer Button,integer Shift)
end event Click

Private Sub ClickEvent(ByVal sender As System.Object, ByVal e As AxEXPROPERTIESLISTLib._IPropertiesListEvents_ClickEvent) Handles ClickEvent
End Sub

Private Sub Click(Property As EXPROPERTIESLISTLibCtl.IProperty,Button As Integer,Shift As Integer)
End Sub

Private Sub Click(ByVal Property As Object,ByVal Button As Integer,ByVal Shift As Integer)
End Sub

LPARAMETERS Property,Button,Shift

PROCEDURE OnClick(oPropertiesList,Property,Button,Shift)
RETURN

Syntax for Click event, /COM version (others), on:

<SCRIPT EVENT="Click(Property,Button,Shift)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function Click(Property,Button,Shift)
End Function
</SCRIPT>

Procedure OnComClick Variant llProperty Short llButton Short llShift
	Forward Send OnComClick llProperty llButton llShift
End_Procedure

METHOD OCX_Click(Property,Button,Shift) CLASS MainDialog
RETURN NIL

void onEvent_Click(COM _Property,int _Button,int _Shift)
{
}

function Click as v (Property as OLE::Exontrol.PropertiesList.1::IProperty,Button as N,Shift as N)
end function

function nativeObject_Click(Property,Button,Shift)
return

The following sample prints the property's name if the user clicks the property:

Private Sub PropertiesList1_Click(Property As EXPROPERTIESLISTLibCtl.IProperty, Button As Integer, Shift As Integer)
    Debug.Print Property.Name
End Sub