AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones TreeView
  • A collapsed or expanded node can be visible or not
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
Returns the status of a node: collapsed, expanded or not found.
Example of TreeView control:
Vocabulary linked to a TreeView control
Example
// Status of the "Desserts" node in the "TREE_TVRecipe" TreeView control
ResStatus = TreeStatus(TREE_TVRecipe, "Recipes" + TAB + "Desserts")
Syntax
<Result> = TreeStatus(<TreeView control> , <Node>)
<Result>: Integer constant
Node status.
tvCollapseCollapsed node.
tvErrorNode not found.
tvExpandExpanded node.
<TreeView control>: Control name
Name of the TreeView control to be used.
<Node>: Character string
Path of node 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).
Remarks

A collapsed or expanded node can be visible or not

The status returned corresponds to the internal status of the element. An expanded element is not necessarily visible because one of its parents may be collapsed.
For example: If the node "Recipes" + TAB + "Desserts" is collapsed, the node" Recipes" + TAB + "Desserts" + TAB + "Ice creams" can be collapsed or expanded.
Invisible collapsed or expanded node
Component: wd290obj.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local