Question Example ABL .NET TreeView

Cecil

19+ years progress programming and still learning.
OE 11.7.15 64bit.
OS Windows 10.

Does anybody have any example code of dynamically adding nodes/subnodes to a .NET TreeView.?

My objective is when the user clicks on a node the sibling nodes are dynamically created and the process is repeated each time the user clicks on a sybling node.

Regards
James.
 

Osborne

Active Member
I have some example code of dynamically adding nodes and sub nodes to a .NET TreeView and this is attached.

It does not do exactly what you require as it dynamically adds when first run and not when a node is clicked, but hopefully it gives you some ideas and you can adapt.
 

Attachments

  • orderstreeview.cls
    3.7 KB · Views: 10

Cecil

19+ years progress programming and still learning.
I have some example code of dynamically adding nodes and sub nodes to a .NET TreeView and this is attached.

It does not do exactly what you require as it dynamically adds when first run and not when a node is clicked, but hopefully it gives you some ideas and you can adapt.
This is perfect. This has given me a good start.
 
Top