Expand Event
Object List Next Object
Defined By: Indented List
Description:
Occurs when an item is to be expanded.
Usage:
Sub Expand(ByVal itemIndex as Integer, ByVal itemData as Long, itemObj as Object)
Argument Description
itemIndex The Index of the Item that caused the Expand event
itemData The Data of the item that caused the Expand event
itemObj The Object associated with the item that caused the Expand event
Details:
An Expand event will occur when:
ExpandItem is called on any item.
An item is collapsed (the next item’s level is less than or equal to the item’s level), SetItemCanExpand has been set to True on the item, and the item's
icon is clicked.
An item is collapsed, SetItemCanExpand has been set to True on the item,
ExpandOnDblClick is True, and the item's text is double clicked