Collapsed Event

Object List Next Object

Defined By:
Indented List

Description:

Occurs when a user collapses an item or when CollapseItem is called on an item.

Usage:

Sub Collapsed(ByVal itemIndex As Integer, ByVal itemData As Long, itemObj As Object)


Argument Description


itemIndex The Index of the Item that caused the Collapse event

itemData The Data of the item that caused the Collapse event

itemObj The Object associated with the item that caused the Collapse Event

Details:

A Collapsed Event will occur when:

images/Phx90000.gif CollapseItem is called on any item.

images/Phx90000.gif An Item is expanded (the next item
s level is greater than the item), SetItemCanExpand has been set to True on the item and the item's icon is clicked.

images/Phx90000.gif An Item is expanded, SetItemCanExpand has been set to True on the item, ExpandOnDblClick is True and the item's text is double clicked.

The Collapsed event can be used to specify additional code to follow whenever an item is collapsed.

See Also:

CollapseItem method, SetItemCanExpand method, ExpandOnDblClick property, Expand event