AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones TreeView
  • Node to expand
  • Selection bar
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Expands a node in a TreeView control. The "child" elements (nodes or leaves) of this node become visible.
Example of TreeView control:
Vocabulary linked to a TreeView control
Reminder At runtime, a node is unrolled when the "-" sign precedes the node name.
Ejemplo
// Expand the "Desserts" node in the "TREE_TVRecipe" TreeView control
Res = TreeExpand(TREE_TVRecipe, "Recipes" + TAB + "Desserts")
Sintaxis
<Result> = TreeExpand(<TreeView control> , <Node to expand>)
<Result>: Boolean
  • True if the node was expanded,
  • False otherwise.
<TreeView control>: Control name
Name of the TreeView control to be used.
<Node to expand>: Character string
Path of node to expand. 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).
Observaciones

Node to expand

If the node to expand:
  • is not found, TreeExpand returns False.
  • is a leaf, TreeExpand returns True.
  • is already expanded, TreeExpand returns True.
  • is not visible, TreeExpand makes this node visible. Its "parent" and "sibling" elements are also displayed. The "parent" elements are expanded.
When TreeExpand is called, if the specified branch has a procedure associated via the AddChildDelayed property, this procedure will be executed.

Selection bar

TreeExpand does not change the position of the selection bar.
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 25/03/2025

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