Does anyone know how to arrange the icons in treeview in a specific way.. not acending or descending but just how their inputed or whatnot. Im setting up a menu and woudl ranter have Exit the very last item. Thanks a bunch.
Are you using a table to populate the control or are you hardcoding the nodes?
If you hard coding the nodes then the order that you write the code for the nodes will dictate their place in the tree - if you using a table you will first need to order the recordset before you populate the tree...
If you have it hardcoded then simply making it the last coded node will place it at the bottom of the control. If you are planning on making the control more dynamic from a table then you can simply add a field to the table that is numeric and then sort the recordset based on this value before you populate the tree - make the exit node the highest number and sort ascending...