Sign in Join
FPDoc Onlineexperiment

TCustomTreeView.SortType property

Member of TCustomTreeViewprotectedIn unit ComCtrls

Allows items to be sorted by caption, by the Data property, or both.

Declaration

pascal
property SortType: TSortType read FSortType write SetSortType default stNone;

Description

Changing the Text or Data of a node will sort again. While adding nodes does not. Call TreeView1.AlphaSort to sort the whole tree. Call ParentNode.CustomSort(nil) to sort only the child nodes of a single node.

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