PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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 = TREE_TVRecipe.SelectMinus("Recipes" + TAB + "Desserts")
Syntax
<Result> = <TreeView control>.SelectMinus(<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: wd270obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment