Type | Description | |||
Group as Group | A Group object where the user clicks an icon. | |||
Item as HITEM | A long expression that indicates the handle of the item where the user clicks the cell's icon. | |||
ColIndex as Long | A long expression that indicates the index of the column where the user clicks the cell's icon, or a long expression that indicates the handle of the cell being clicked, if the Item parameter is 0. |
private void CellImageClick(object sender,exontrol.EXPLORERTREELib.Group Group,int Item,int ColIndex) { } Private Sub CellImageClick(ByVal sender As System.Object,ByVal Group As exontrol.EXPLORERTREELib.Group,ByVal Item As Integer,ByVal ColIndex As Integer) Handles CellImageClick End Sub |
private void CellImageClick(object sender, AxEXPLORERTREELib._IExplorerTreeEvents_CellImageClickEvent e) { } void OnCellImageClick(LPDISPATCH Group,long Item,long ColIndex) { } void __fastcall CellImageClick(TObject *Sender,Explorertreelib_tlb::IGroup *Group,Explorertreelib_tlb::HITEM Item,long ColIndex) { } procedure CellImageClick(ASender: TObject; Group : IGroup;Item : HITEM;ColIndex : Integer); begin end; procedure CellImageClick(sender: System.Object; e: AxEXPLORERTREELib._IExplorerTreeEvents_CellImageClickEvent); begin end; begin event CellImageClick(oleobject Group,long Item,long ColIndex) end event CellImageClick Private Sub CellImageClick(ByVal sender As System.Object, ByVal e As AxEXPLORERTREELib._IExplorerTreeEvents_CellImageClickEvent) Handles CellImageClick End Sub Private Sub CellImageClick(ByVal Group As EXPLORERTREELibCtl.IGroup,ByVal Item As EXPLORERTREELibCtl.HITEM,ByVal ColIndex As Long) End Sub Private Sub CellImageClick(ByVal Group As Object,ByVal Item As Long,ByVal ColIndex As Long) End Sub LPARAMETERS Group,Item,ColIndex PROCEDURE OnCellImageClick(oExplorerTree,Group,Item,ColIndex) RETURN |
<SCRIPT EVENT="CellImageClick(Group,Item,ColIndex)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function CellImageClick(Group,Item,ColIndex) End Function </SCRIPT> Procedure OnComCellImageClick Variant llGroup HITEM llItem Integer llColIndex Forward Send OnComCellImageClick llGroup llItem llColIndex End_Procedure METHOD OCX_CellImageClick(Group,Item,ColIndex) CLASS MainDialog RETURN NIL void onEvent_CellImageClick(COM _Group,int _Item,int _ColIndex) { } function CellImageClick as v (Group as OLE::Exontrol.ExplorerTree.1::IGroup,Item as OLE::Exontrol.ExplorerTree.1::HITEM,ColIndex as N) end function function nativeObject_CellImageClick(Group,Item,ColIndex) return |
The following sample displays the caption of the cell whose icon is clicked:
Private Sub ExplorerTree1_AddItem(ByVal Group As EXPLORERTREELibCtl.IGroup, ByVal Item As EXPLORERTREELibCtl.HITEM) With Group.Items .CellImage(Item, 0) = 1 End With End Sub Private Sub ExplorerTree1_CellImageClick(ByVal Group As EXPLORERTREELibCtl.IGroup, ByVal Item As EXPLORERTREELibCtl.HITEM, ByVal ColIndex As Long) With Group.Items MsgBox .CellCaption(Item, ColIndex) End With End Sub