ExpandChange

[event icon] ExpandChange() Event

Occurs when an item is expanded or collapsed (other than when an Expand event occurs)

Applies to: Tree

Introduced in KCML version 5.03


>ExpandChange

ExpandChange

This event handler is called each time a tree control branch is expanded or collapsed. The Expanded property can be used to determine if the branch is being expanded or collapsed, a value of TRUE means that the branch has been expanded. If the branch is being expanded for the first time then the Expand() event is called instead. If the branch is then collapsed and later re-expanded then only the ExpandChange() event is called.

Tree branches are either expanded and collapsed by the user or they can be expanded and collapsed under program control using the Expand() and Collapse() methods.

See also

Tree methods, properties and events.