GUI ScreenIO for Windows

 ScreenIO.com


How to Use Treeview Controls in Your Program

Install the treeview sample program.

A treeview is static (limited to the size of your initial definition) like a listbox, but it saves the keys of the records you display in the treeview, just like a listview.

The treeview is defined in the panel-3 area as a few data fields and an array. 

Load the elements to the array in the order shown in the tree above.  You must follow each branch to the end before you load the next branch, as shown.

The sample program sets the third item selected, which is why it's highlighted in the sample image above.

Related topics:


© 2000-2019 Norcom, all rights reserved 

TOC

Send feedback to Norcom