event AfterExpandGroup (Group as Group)
Occurs when a group is expanded or collapsed.

TypeDescription
Group as Group A Group object being expanded or collapsed.
Use the AfterExpandGroup event to notify your application that a group is expanded or collapsed. The BeforeExpandGroup event is fired just before expanding or collapsing a group. Use the AllowExpand property to disable expanding or collapsing groups when user clicks the group's caption. Use the DelayScroll property to specifies the delay used for animation during expanding or collapsing. Use the Expanded property to expand or collapse programmatically a group. 

Syntax for AfterExpandGroup event, /NET version, on:

private void AfterExpandGroup(object sender,exontrol.EXPLORERTREELib.Group Group)
{
}

Private Sub AfterExpandGroup(ByVal sender As System.Object,ByVal Group As exontrol.EXPLORERTREELib.Group) Handles AfterExpandGroup
End Sub

Syntax for AfterExpandGroup event, /COM version, on:

private void AfterExpandGroup(object sender, AxEXPLORERTREELib._IExplorerTreeEvents_AfterExpandGroupEvent e)
{
}

void OnAfterExpandGroup(LPDISPATCH Group)
{
}

void __fastcall AfterExpandGroup(TObject *Sender,Explorertreelib_tlb::IGroup *Group)
{
}

procedure AfterExpandGroup(ASender: TObject; Group : IGroup);
begin
end;

procedure AfterExpandGroup(sender: System.Object; e: AxEXPLORERTREELib._IExplorerTreeEvents_AfterExpandGroupEvent);
begin
end;

begin event AfterExpandGroup(oleobject Group)
end event AfterExpandGroup

Private Sub AfterExpandGroup(ByVal sender As System.Object, ByVal e As AxEXPLORERTREELib._IExplorerTreeEvents_AfterExpandGroupEvent) Handles AfterExpandGroup
End Sub

Private Sub AfterExpandGroup(ByVal Group As EXPLORERTREELibCtl.IGroup)
End Sub

Private Sub AfterExpandGroup(ByVal Group As Object)
End Sub

LPARAMETERS Group

PROCEDURE OnAfterExpandGroup(oExplorerTree,Group)
RETURN

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

<SCRIPT EVENT="AfterExpandGroup(Group)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function AfterExpandGroup(Group)
End Function
</SCRIPT>

Procedure OnComAfterExpandGroup Variant llGroup
	Forward Send OnComAfterExpandGroup llGroup
End_Procedure

METHOD OCX_AfterExpandGroup(Group) CLASS MainDialog
RETURN NIL

void onEvent_AfterExpandGroup(COM _Group)
{
}

function AfterExpandGroup as v (Group as OLE::Exontrol.ExplorerTree.1::IGroup)
end function

function nativeObject_AfterExpandGroup(Group)
return

The following sample displays the caption of group being expanded or collapsed:

Private Sub ExplorerTree1_AfterExpandGroup(ByVal Group As EXPLORERTREELibCtl.IGroup)
    Debug.Print Group.Caption
End Sub