This document describes a recursive function to traverse a tree view control and modify node text. The function loops through each node in a tree node collection, setting the text to "Hijo" for leaf nodes and "Padre" for parent nodes, then recursively calls itself on any child nodes. The example shows calling this function on page load to traverse and modify all nodes in the treeMenu control.
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
19 views
Funcion RecorrerTreeView
This document describes a recursive function to traverse a tree view control and modify node text. The function loops through each node in a tree node collection, setting the text to "Hijo" for leaf nodes and "Padre" for parent nodes, then recursively calls itself on any child nodes. The example shows calling this function on page load to traverse and modify all nodes in the treeMenu control.