Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tree View??? Ok, How does it work?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00148905
Message ID:
00179540
Vues:
24
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

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform