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
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
Checks the existence of an element in a TreeView control and returns its type (node or leaf) if the element exists.
Example of TreeView control:
Vocabulary linked to a TreeView control
Ejemplo
// Type of "Desserts" element in the "TREE_TVRecipe" treeview
Res = TreeTypeItem(TREE_TVRecipe, "Recipes" + TAB + "Desserts")
SWITCH Res 
	CASE aError: Info("Element does not exist")
	CASE aSheet: Info("The element is a sheet")
	CASE aNode: Info("Element is a node")
END
Sintaxis
<Result> = TreeTypeItem(<TreeView control> , <Element path>)
<Result>: Constant
Constant used to identify the type of element:
tvErrorThe specified element does not exist.
tvLeafThe specified element is a leaf.
tvNodeThe specified element is a node.
<TreeView control>: Control name
Name of the TreeView control to be used.
<Element path>: Character string
Full path of the element to be used. 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).
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: 04/10/2024

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