Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbi ct_tree
Message
 
 
À
11/06/2001 12:49:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00517884
Message ID:
00517946
Vues:
15
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform