GUI ScreenIO for Windows |
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.
© 2000-2019 Norcom, all rights reserved |