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
Deletes the children of an element from a TreeView control without deleting the element itself.
Example of TreeView control:
Vocabulary linked to a TreeView control
Example
// Delete the children of the "Desserts" node from the "TREE_TVRecipe" control
Res = TREE_TVRecipe.DeleteChild("Recipes" + TAB + "Desserts")
Syntax
<Result> = <TreeView control>.DeleteChild(<Element path>)
<Result>: Boolean
  • True if the deletion was performed,
  • False if the specified element does not exist.
<TreeView control>: Control name
Name of the TreeView control to be used.
<Element path>: Character string
Full path of the element whose child elements must be deleted. 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).
Component: wd290obj.dll
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2024

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