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

TTreeNode.CustomSort

CustomSort - Sorts the child nodes using SortProc.

Declaration

Source position: comctrls.pp line 3030

public function TTreeNode.CustomSort(

  SortProc: TTreeNodeCompare

):Boolean;

Description

The child nodes (not the grand children) are sorted. If SortProc is nil the method DefaultTreeViewSort is used. The default implementation always returns true.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.