vb.net - items from a tree view -


How can I display a check box from a treeView using VB in an item?

Assume this is winforms:

  ListView1.Items. Clear () TreeNode in TreeView1 for each node. Nodes if node. Checked list view 1. Edit items: End (node ​​test) end if next  

Edit: Code to call recursive method:

  ListView1 item. ClearTyList (Tree View 1. node)  

recursive method:

  Private sub AddToList (nodes in the form of tree node) in nodes for each node If the node in the form of a treeoid. Checked list view 1. If you want to show them in a certain order or anything like this, you need to adjust it if you want to adjust it. Can not say that 'if the nodes are nothing, then the' addict 'method can return to the beginning. 


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -