Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview question
Message
De
10/10/2001 18:09:06
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00566529
Message ID:
00566699
Vues:
15
Thanks for the tip Larry.

When I first read it I got it a little confused. I must have been watching too much hockey lately as I thought PK meant penalty kill. lol. Then I realized you meant primary key.

GO FLAMES GO!!

Chris

>
>Chris,
>You could set the Checkboxes property of the Treeview to .T. and add code to the NodeCheck event to add the necessary information to an array or cursor tracking what has/has not been selected/deselected. The NodeCheck event receives an object reference to the Node that was checked/unchecked.
>
>FWIW, when we add a node we set the Index proeprty of the new node to the PK of the item being added. That way when a Node is selected, we can synchronize the underlying table using a simple seek().
>
>HTH.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform