PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Deletes an element and its "children" from a TreeView control.
Example of TreeView control:
Vocabulary linked to a TreeView control
Example
// Delete the "Desserts" node and all its
// "children" from "TREE_RecipeTV"
Res = TREE_RecipeTV.Delete("Recipes" + TAB + "Desserts")
Syntax
<Result> = <TreeView control>.Delete(<Element path>)
<Result>: Boolean
  • True if the deletion was performed,
  • False if the specified element does not exist.
<TreeView control>: Control name
Name of TreeView control to use.
<Element path>: Character string
Full path of element to delete. This parameter has the following format:
"<Name of root>" + TAB + ["<Name of 1st node>" + TAB + ...
["<Name of 2nd node>" + TAB + [...]]]"<Leaf name>"
In case of duplicates on a path element, this path can contain the element identifier (specified at the end of its name by TreeID).
Component : wd240obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment