Sign in Join
FPDoc Onlineexperiment

TCustomTreeView.Collapse procedure

Member of TCustomTreeViewprotectedIn unit ComCtrls

Performs actions needed when the specified tree node is collapsed.

Declaration

pascal
procedure Collapse(Node: TTreeNode); virtual

Arguments

Node

Tree node collapsed in the control.

Description

Collapse is a method used to perform actions needed when the tree node in Node is collapsed. Collapse updates the visibility and position for the scroll bars in the control. The OnCollapsed event handler is signalled (when assigned) for the tree node in Node.

No actions are performed in the method when the component is being freed.

Collapse is called when the Collapse method in the TTreeNode instance is called.

See Expand for the actions performed when a tree node is expanded.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.