[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Event handler signalled when a node on the tree view control has been expanded.
Source position: comctrls.pp line 3660
protected property TCustomTreeView.OnExpanded : TTVExpandedEvent |
OnExpanded is a TTVExpandedEvent property with the event handler signalled when a node on the tree view control has been expanded. It is signalled (when assigned) from the Expand method, and occurs after child nodes have been displayed and scroll bars for the control have been updated. Values in the States property have already been updated to indicate that a node has been expanded and that visible items need to be updated.
An application can implement a handler routine to perform actions needed when the tree node or its children become visible on the control.
Arguments for the event handler include:
Use OnExpanding to perform actions needed immediately prior to expanding a node on the tree view control.
Use OnCollapsing and OnCollapsed to perform actions before or after a node is collapsed on the tree view control.
|
Expands the specified tree node and updates the scroll bars for the control. |
|
|
Event handler signalled prior to expanding a node on the tree view control. |
|
|
Event handler signalled prior to collapsing a node on the tree view control. |
|
|
Event handler signalled when a tree node has been collapsed on the control. |
|
|
Expands a tree node when it is clicked or activated in code. |
|
|
Returns True if a given TreeNode can be collapsed. |
|
|
True if the specified tree node can be expanded. |
|
|
Performs actions needed when the specified tree node is collapsed. |
|
|
Contains the state values in effect for the control. |
|
|
TTVExpandedEvent - generic event handling method for a Tree Node that has been expanded. |
|
|
Expands the current tree node, and optionally all descendent nodes. |
|
|
True if the node has been expanded, False when collapsed. |
|
|
True if the tree node is visible in the associated TreeView control. |
Version 3.2 | Generated 2024-02-25 | Home |