Description
Sorts all children of given path. Text of Tree View entries is used for sorting.
Syntax
Syntax 1
control tvSort [path, reversed]
Parameters:
control: Controlpath: Tree View Path - the parent item to sortreversed: Boolean - (Optional, default false) true to reverse sort it
Returns: Nothing
Syntax 2
tvSort [idc, path, reversed]
Parameters:
idc: Number - control idcpath: Tree View Path - the parent item to sortreversed: Boolean - (Optional, default false) true to reverse sort it
Returns: Nothing
Examples
Example 1
control tvSort [[0], true];
Example 2
tvSort [102, [0], true];
See also
lbSortBy · lnbSortBy · tvSortAll · tvSortByValue · tvSortByValueAll