Information générale
Catégorie:
Contrôles ActiveX en VFP
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
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