PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Node to Expand
  • Selection bar
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
Expands a node and all its child elements in a TreeView control.
Example of TreeView control:
Vocabulary linked to a TreeView control
Reminder: At run time, a node is expanded when the node name is preceded by "-".
Example
// Expands the "Dessert" node in the "TREE_RecipeTV" control
// All child elements are also expanded
Res = TreeExpandAll(TREE_RecipeTV, "Recipes" + TAB + "Desserts" )
Syntax
<Result> = TreeExpandAll(<TreeView Control> [, <Node to Expand>])
<Result>: Boolean
  • True if the node and its child elements have been expanded,
  • False otherwise.
<TreeView Control>: Control name
Name of TreeView control to use.
<Node to Expand>: Optional character string
Path of node to expand (as well as its child elements). This parameter has the following format:
"<Name of Root>" + TAB + ["<Name of 1st Node>" + TAB + ...
["<Name of 2nd Node>" + TAB + [...]]]"<Leaf Name>"
If this parameter is not specified, the treeview is expanded from the root.
In case of duplicates on a path element, this path can contain the element identifier (specified at the end of its name by TreeID).
Remarks

Node to Expand

If the node to expand:
  • is not found, TreeExpandAll returns False.
  • is not specified, TreeExpandAll returns True and the treeview is expanded from its root.
  • is a leaf, TreeExpandAll returns True.
  • is already expanded, TreeExpandAll returns True and the child elements are expanded if necessary.
  • is not visible, TreeExpandAll makes this node visible. Its "parent" and "sibling" elements are also displayed. The "parent" elements are expanded.
Versions 20 and later
During the call to TreeExpandAll, if the specified branch and/or its children include a procedure associated by ..AddChildDelayed, this procedure will be run.
New in version 20
During the call to TreeExpandAll, if the specified branch and/or its children include a procedure associated by ..AddChildDelayed, this procedure will be run.
During the call to TreeExpandAll, if the specified branch and/or its children include a procedure associated by ..AddChildDelayed, this procedure will be run.

Selection bar

TreeExpandAll does not modify the position of the selection bar.
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
Windows Mobile wp230obj.dll
Java wd230java.jar
Linux wd230obj.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment