Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview question
Message
From
10/10/2001 18:09:06
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00566529
Message ID:
00566699
Views:
13
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform