|
|
|
|
|
TreeSelect (Function) In french: ArbreSelect Returns the full path of the selected element in a TreeView control. Example of TreeView control:
ResPath = TreeSelect(TREE_TVRecipe)
Syntax
<Result> = TreeSelect(<TreeView control> [, <Management of duplicates> [, <Rank>]])
<Result>: Character string Full path of the selected element, in the following format:
"<Root name>" + TAB + ["<Name of 1st node>" + TAB + ... ["<Name of 2nd node>" + TAB + [...]]]"<Leaf name>" <TreeView control>: Control name Name of the TreeView control to be used. <Management of duplicates>: Optional boolean Mode for managing duplicates in the elements: <Rank>: Optional integer Rank of the selection for a multi-selection TreeView control. If this parameter is not specified, the index of the first selected row is returned. For example, to retrieve the first selected element, <Rank> = 1. To retrieve the second selected element, <Rank> = 2, etc.
Related Examples:
|
Unit examples (WINDEV): The TreeView control
[ + ] Using the TreeView control via the WLanguage Tree functions.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|