[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomTreeView.SortType

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

Declaration

Source position: comctrls.pp line 3682

protected property TCustomTreeView.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.


Version 3.2 Generated 2024-02-25 Home