event CellButtonClick (Group as Group, Item as HITEM, ColIndex as Long)
Fired after the user clicks on the cell of button type.

TypeDescription
Group as Group A Group object where user clicks a button.
Item as HITEM A long expression that indicates the handle of the item where the user clicks the cell's button.
ColIndex as Long A long expression that specifies the index of the column where the user clicks the cell's button, or a long  expression that indicates the handle of the cell being clicked, if the Item parameter is 0.
The CellButtonClick event is fired after the user released the left mouse button over a cell of button type.  Use the CellHasButton property to specify whether a cell is of button type. The CellButtonClick event notifies your application that user presses a cell of the button type.

The following sample prints the caption of the clicked cell:

Syntax for CellButtonClick event, /NET version, on:

private void CellButtonClick(object sender,exontrol.EXPLORERTREELib.Group Group,int Item,int ColIndex)
{
}

Private Sub CellButtonClick(ByVal sender As System.Object,ByVal Group As exontrol.EXPLORERTREELib.Group,ByVal Item As Integer,ByVal ColIndex As Integer) Handles CellButtonClick
End Sub

Syntax for CellButtonClick event, /COM version, on:

private void CellButtonClick(object sender, AxEXPLORERTREELib._IExplorerTreeEvents_CellButtonClickEvent e)
{
}

void OnCellButtonClick(LPDISPATCH Group,long Item,long ColIndex)
{
}

void __fastcall CellButtonClick(TObject *Sender,Explorertreelib_tlb::IGroup *Group,Explorertreelib_tlb::HITEM Item,long ColIndex)
{
}

procedure CellButtonClick(ASender: TObject; Group : IGroup;Item : HITEM;ColIndex : Integer);
begin
end;

procedure CellButtonClick(sender: System.Object; e: AxEXPLORERTREELib._IExplorerTreeEvents_CellButtonClickEvent);
begin
end;

begin event CellButtonClick(oleobject Group,long Item,long ColIndex)
end event CellButtonClick

Private Sub CellButtonClick(ByVal sender As System.Object, ByVal e As AxEXPLORERTREELib._IExplorerTreeEvents_CellButtonClickEvent) Handles CellButtonClick
End Sub

Private Sub CellButtonClick(ByVal Group As EXPLORERTREELibCtl.IGroup,ByVal Item As EXPLORERTREELibCtl.HITEM,ByVal ColIndex As Long)
End Sub

Private Sub CellButtonClick(ByVal Group As Object,ByVal Item As Long,ByVal ColIndex As Long)
End Sub

LPARAMETERS Group,Item,ColIndex

PROCEDURE OnCellButtonClick(oExplorerTree,Group,Item,ColIndex)
RETURN

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

<SCRIPT EVENT="CellButtonClick(Group,Item,ColIndex)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function CellButtonClick(Group,Item,ColIndex)
End Function
</SCRIPT>

Procedure OnComCellButtonClick Variant llGroup HITEM llItem Integer llColIndex
	Forward Send OnComCellButtonClick llGroup llItem llColIndex
End_Procedure

METHOD OCX_CellButtonClick(Group,Item,ColIndex) CLASS MainDialog
RETURN NIL

void onEvent_CellButtonClick(COM _Group,int _Item,int _ColIndex)
{
}

function CellButtonClick as v (Group as OLE::Exontrol.ExplorerTree.1::IGroup,Item as OLE::Exontrol.ExplorerTree.1::HITEM,ColIndex as N)
end function

function nativeObject_CellButtonClick(Group,Item,ColIndex)
return

Private Sub ExplorerTree1_AddItem(ByVal Group As EXPLORERTREELibCtl.IGroup, ByVal Item As EXPLORERTREELibCtl.HITEM)
    With Group.Items
        .CellHasButton(Item, 0) = True
    End With
End Sub

Private Sub ExplorerTree1_CellButtonClick(ByVal Group As EXPLORERTREELibCtl.IGroup, ByVal Item As EXPLORERTREELibCtl.HITEM, ByVal ColIndex As Long)
    MsgBox Group.Items.CellCaption(Item, ColIndex)
End Sub