ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / TreeView functions
  • Multi-selection treeview
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Deselects an element in a TreeView control.
Example of TreeView control:
Vocabulary linked to a TreeView control
Example
// Deselect the "Desserts" node in the "TREE_TVRecipe" TreeView control
Res = TreeSelectMinus(TREE_TVRecipe, "Recipes" + TAB + "Desserts")
Syntax
<Result> = TreeSelectMinus(<TreeView control> , <Element path>)
<Result>: Boolean
  • True if the element was deselected,
  • False if the specified element does not exist.
<TreeView control>: Control name
Name of the TreeView control to be used.
<Element path>: Optional character string
Full path of element 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).
If this parameter is specified, the specified element is deselected.
If this parameter is not specified, the current element is deselected.
Remarks

Multi-selection treeview

For a multi-selection control:
  • if <Element path> is specified, only the specified element is deselected.
  • if <Element path> is not specified, all the selected elements are deselected.
Component: wd290obj.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help