Sign in Join
FPDoc Onlineexperiment

TCustomTreeView.TopItem property

Member of TCustomTreeViewpublicIn unit ComCtrls

TopItem - the first visible node of the tree.

Declaration

pascal
property TopItem: TTreeNode read GetTopItem write SetTopItem;

Description

Use TopItem to get the top-most visible node. It is usually needed when tree view contains many nodes and scroll bar is required to display them all. If you need the first node of the tree regardless of visibility use Items[0].

See also

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