Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dbi ct_tree
Message
 
 
To
11/06/2001 12:49:26
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00517884
Message ID:
00517946
Views:
14
>Hi,
>I have just been playing around with the tree control from dbi and all works well, except I cannot see how I am supposed to link the items in the tree control with my pk field, I have found the lnindex but unless I can force this to be the pk value I am lost
>
>Do help
>TIA
>Stuart

Place the value in the NodeData collection if use use an integer data type for the PK of NodeCargo if you use a character string.

Your code will look something like this

WITH treename
ln_node = .AddNode(...)
.NodeData(ln_node) = pk && or use .NodeCargo(ln_node) = pk
ENDWITH
Ken Wardwell
Previous
Reply
Map
View

Click here to load this message in the networking platform