Treeview Checkbox (AUTO CHECK / UNCHECK, recursive for parents & childs of a node)
This very simple function will handle all Checkboxes (parents & childs) of a TreeView control. If you click a child node it will check all parents of this node. Also, if you "uncheck" a child node when nomore nodes are checked on the same hierarchy, this code will auto uncheck all the parents. Simple function. Recursive calls. The code encapsulated in a separated .BAS. Only add this .BAS in your project and enjoy. If you have any doubts, please let me know. Sorry by the horrible english... []'s Roberto Wolf (Brasil/SP). MCP+Site Building
Shrnutí AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Upload