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. 

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
 


Send comments on this topic.
© 1999-2008 Exontrol Inc, Software. All rights reserved.