Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView Populate from Cursor?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
TreeView Populate from Cursor?
Miscellaneous
Thread ID:
00264044
Message ID:
00264044
Views:
63
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?
Next
Reply
Map
View

Click here to load this message in the networking platform