Sign in Join
FPDoc Onlineexperiment

TTreeNode.CustomSort function

Member of TTreeNodepublicIn unit ComCtrls

CustomSort - Sorts the child nodes using SortProc.

Declaration

pascal
function CustomSort(SortProc: TTreeNodeCompare): Boolean

Arguments

SortProc

Sorting algorithm executed in the method, or Nil to use the default procedure.

Function result

Always returns True.

Description

The child nodes (but not the grand-children) are sorted. If SortProc is Nil the method DefaultTreeViewSort is used. The default implementation always returns True.

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