event AfterCellEdit (Group as Group, Item as HITEM, ColIndex as Long, NewCaption as String)
Occurs after data in the current cell is edited.

TypeDescription
Group as Group A Group object where the user edits an item.
Item as HITEM A long expression that indicates the handle of the item being changed.
ColIndex as Long A long expression that specifies the index of the column where the change occurs, or a handle to a cell being edited if the Item parameter is 0.
NewCaption as String A string expression that indicates the newly cell's caption.
The AfterCellEdit and BeforeCellEdit events are fired only if the AllowEdit property of the group is True. Use the Edit method to programmatically edits a cell. If the user doesn't handle the AfterCellEdit event the cell's caption remains unchanged. Use the AfterCellEdit event to change the cell's caption after user edits a cell. The AfterCellEdit event is not fired if the user has canceled the edit operation using BeforeCellEdit event. 

Syntax for AfterCellEdit event, /NET version, on:

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

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

Syntax for AfterCellEdit event, /COM version, on:

private void AfterCellEdit(object sender, AxEXPLORERTREELib._IExplorerTreeEvents_AfterCellEditEvent e)
{
}

void OnAfterCellEdit(LPDISPATCH Group,long Item,long ColIndex,LPCTSTR NewCaption)
{
}

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

procedure AfterCellEdit(ASender: TObject; Group : IGroup;Item : HITEM;ColIndex : Integer;NewCaption : WideString);
begin
end;

procedure AfterCellEdit(sender: System.Object; e: AxEXPLORERTREELib._IExplorerTreeEvents_AfterCellEditEvent);
begin
end;

begin event AfterCellEdit(oleobject Group,long Item,long ColIndex,string NewCaption)
end event AfterCellEdit

Private Sub AfterCellEdit(ByVal sender As System.Object, ByVal e As AxEXPLORERTREELib._IExplorerTreeEvents_AfterCellEditEvent) Handles AfterCellEdit
End Sub

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

Private Sub AfterCellEdit(ByVal Group As Object,ByVal Item As Long,ByVal ColIndex As Long,ByVal NewCaption As String)
End Sub

LPARAMETERS Group,Item,ColIndex,NewCaption

PROCEDURE OnAfterCellEdit(oExplorerTree,Group,Item,ColIndex,NewCaption)
RETURN

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

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

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

Procedure OnComAfterCellEdit Variant llGroup HITEM llItem Integer llColIndex String llNewCaption
	Forward Send OnComAfterCellEdit llGroup llItem llColIndex llNewCaption
End_Procedure

METHOD OCX_AfterCellEdit(Group,Item,ColIndex,NewCaption) CLASS MainDialog
RETURN NIL

void onEvent_AfterCellEdit(COM _Group,int _Item,int _ColIndex,str _NewCaption)
{
}

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

function nativeObject_AfterCellEdit(Group,Item,ColIndex,NewCaption)
return

The following sample shows how to change the cell's caption when the edit operation ends.

Private Sub ExplorerTree1_AfterCellEdit(ByVal Group As EXPLORERTREELibCtl.IGroup, ByVal Item As EXPLORERTREELibCtl.HITEM, ByVal ColIndex As Long, ByVal NewCaption As String)
    With Group.Items
        .CellCaption(Item, ColIndex) = NewCaption
    End With
End Sub

Use the BeforeCellEdit is you need to cancel editing cells. The following sample shows how to cancel editing of any cell owned by the first column:

Private Sub ExplorerTree1_BeforeCellEdit(ByVal Group As EXPLORERTREELibCtl.IGroup, ByVal Item As EXPLORERTREELibCtl.HITEM, ByVal ColIndex As Long, Value As Variant, Cancel As Variant)
    Cancel = ColIndex = 0
End Sub