ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / TreeView functions
  • A collapsed or expanded node can be visible or not
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the state of a node: wound, unwound or non-existent.
Example of TreeView control:
Vocabulary linked to a TreeView control
Example
// Etat du noeud "Desserts" dans le champ Arbre "ARBRE_RecetteTV"
ResEtat = TreeStatus(ARBRE_RecetteTV, "Recettes" + TAB + "Desserts")
Syntax
<Result> = TreeStatus(<TreeView control> , <Node>)
<Result>: Integer constant
Node status.
tvCollapseCollapsed node.
tvErrorNode not found.
tvExpandExpanded node.
<TreeView control>: Control name
Name of the TreeView control to be used.
<Node>: Character string
Path of node to use. This parameter has the following format:
"<Root name>" + TAB + ["<Name of 1st node>" + TAB + ...
["<Name of 2nd node>" + TAB + [...]]]"<Leaf name>"
If there are two elements with the same name in the path, you can add the IDs of the elements (after their names using TreeID).
Remarks

A collapsed or expanded node can be visible or not

The status returned corresponds to the internal status of the element. An expanded element is not necessarily visible because one of its parents may be collapsed.
For example: If the node "Recipes" + TAB + "Desserts" is rolled up, the node "Recipes" + TAB + "Desserts" + TAB + "Ice cream" can be rolled up or unrolled.
Invisible collapsed or expanded node
Component: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help