Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView Populate from Cursor?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
TreeView Populate from Cursor?
Divers
Thread ID:
00264044
Message ID:
00264044
Vues:
64
I hard coded this info in the init of the control:
ThisForm.oleMSTreeView.Nodes.add(,,'root','Root',1,1)


I make a cursor called 'tview' and here's a sample record
field crelative (c,12) = 'root'
field nrelation (n,4) = 4
field cindexkey (c,64) = 'branch1'
field cdesctext (c,64) = 'branch1'


In the init of the control I do:

select TView
? TView.cRelative
? 4
? TView.cIndexKey
? TView.cDescText
* Everything prints ok but...
ThisForm.oleMSTreeView.Nodes.add;
(TView.cRelative,4,TView.cIndexKey,TView.cDescText)
* does not work!

How come?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform