General information
Category:
ActiveX controls in 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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only