Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tree View??? Ok, How does it work?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00148905
Message ID:
00179540
Views:
23
Hi, Sam!

Likely I'me late and you've found the answer to your question about treeview! But just in case, i wanna tell you my experiment: I got the same issue than you: When I want to populate my treeview, I was only able to get the folders, with the relations 0,1,2 or 3. The Relation #4 didn't operate and I was unable to see the sub-items.

Is it the trouble you used to have?

I've found the solution after many hours:

Just do:

onode = Thisform.Treeview.Nodes.Add(,,"Folder1","FolderText")

oNode.expanded = .T.

If you don't expand the main node, the sub-items are there, but not visible.

HTH
Kind regards

Philippe RIONDEL,
a French man in Montreal
=======================================================

Who tries can sometimes be wrong, who doesn't is always

Previous
Reply
Map
View

Click here to load this message in the networking platform