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
Returns the "children" of an element found in a TreeView control.
Example of TreeView control:
Vocabulary linked to a TreeView control
Example
// First "child" of "Desserts" node in the "TREE_RecipeTV" treeview
Res = TreeGiveChild(TREE_RecipeTV, "Recipes" +TAB + "Desserts", tvFirst)

// Res is equal to: "Warm Desserts"
Syntax
<Result> = TreeGiveChild(<TreeView Control> , <Node Path> , <Child to Get>)
<Result>: Character string
  • Name of "child" element found,
  • Empty string ("") if no "child" element is found.
<TreeView Control>: Control name
Name of TreeView control to use.
<Node Path>: Character string
Full path to the node whose "child" elements are requested. This parameter:
  • has the following format:
    "<Name of Root>" + TAB + ["<Name of 1st Node>" + TAB + ...
    ["<Name of 2nd Node>" + TAB + [...]]]"<Leaf Name>"
  • corresponds to the NULL constant if the "children" of the root of the TreeView control must be returned.
<Child to Get>: Integer constant
Indicates the requested "child":
tvFirstFirst child element.
tvNextChild following the last child that was retrieved.
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