Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a note for each node in a Treeview
Message
De
20/04/2001 00:33:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00497462
Message ID:
00497716
Vues:
10
Hugo,
Tx for your response

What I was looking for was something like this
1. Load treeview from dbf (dbf has 4 fields: key,parent,text,note)
2. Display treeview Allowing end user to add/edit any node (text) or note
Yes the bldtree.scx does all except the using a 4th field (note) so I put the note field into node.tag and I have an extra textedit box for displaying the field from the dbf. My problem is how do I update the dbf when end user adds or edits a node.
Step 3. writing out the node to a new dbf is not a problem if I can just figure out step 2...
Sorry new to VFP 6.0 so not used to all its nuiances.

>Cecil,
>
>Not sure if I undertood you correctly, but i'll try to help/confuse you anyway.
>Generally I build the tree from a table/cursor (or you [can] create one for this purpose), so you don't need to add any properties to the nodes, just fields to the table/cursor and then using, the node key to access the table/cursor, you can refresh your data.
>
>HTH
>Hugo
>
>>I am trying to modify bldtree.scx from solution samples to allow the end user to add a note to any node in the tree can anyone suggest something desperate was where I was at 2 days ago. Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform