Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Scan Treeview's nodes in order they appear on screen
Hi,
We display a treeview based on a table. On a table built manually (ie the first time the app runs), the display if perfect. Then the user select a node and can add an item from the listbox on the right, resulting in adding a child node to the currently selected node. This all works fine until the moment we want to save the modifications.
We wanted to scan all the nodes in the treeview one by one and rebuild the table on which it was orginally created so that next time it's opened, all the nodes will appear in the exact same order the user added them, but the Index property is corresponding to the order in which the items were added.
How can we scan the treeview's nodes in the order they are displayed ? Or if not possible, how can we save the user's modification to the treeview ?
Thanks,
Sylvain Bujold
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement