PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
TreeSort_55 (Function)
In French: ArbreTri
TreeSort_55 is kept for backward compatibility.
In this version, use TreeSort.
The documentation about TreeSort_55 is as follows.
 
Purpose
Sort the entire TreeView control from one of its nodes.
Syntax
<Result> = TreeSort_55(<TreeView Control> [, <Node> [, <Sort>]])
  • <Result> is a boolean indicating whether the sort was performed
  • <TreeView Control> is a character string corresponding to the name of the TreeView control
  • <Node> is a character string used to identify the node to sort (and its children). This string has the following format:
    "<RootName>" + TAB + "<Name Node1>" + TAB + "<Name Node2>" + ... + TAB + "<Leaf Name>"
  • <Sort> is a constant used to specify the type of sort to perform. The following values can be used:
    • tvUp: the sort is performed in alphabetical order (by default)
    • tvDown: the sort is performed in the reverse alphabetical order
Details
This function is used to sort a TreeView control (entirely or partly). <Result> is set to True if the sort was successfully performed ( and to False otherwise). If <Node> is missing or if it si equal to NULL, the sort is performed in the entire TreeView control, from the different roots.
Notes
If <Node> does not exist, the function returns False.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment