AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones 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
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
Example
// Type of "Desserts" element in the "TREE_TVRecipe" treeview
Res = TreeTypeItem(TREE_TVRecipe, "Recipes" + TAB + "Desserts")
SWITCH Res
CASE tvError: Info("Element not found")
CASE tvLeaf: Info("The element is a leaf")
CASE tvNode: Info("The element is a node")
END
Syntax
<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 element to use. This parameter has the following format:
"<Root name>" + TAB + ["<Name of 1st node>" + TAB + ...
["<Name of 2nd node>" + TAB + [...]]]"<Leaf name>"
In case of duplicates on a path element, this path can contain the element identifier (specified at the end of its name by TreeID).
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