Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters for TreeView.Additem(?????, ??????, ????)
Message
De
23/07/1998 17:11:24
 
 
À
23/07/1998 16:47:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00120738
Message ID:
00120745
Vues:
19
Hi Larry ----

>I did this once, but cannot remember how and documentation seems scarce can anyone tell me how to add items to a tree view with the indentation levels, etc.

oTreeview.Nodes.Add(relative,relationship,key,text,image,selectedimage)

So, for a root node:

oTreeview.Nodes.Add(,,cRootKey,"Root Item")

For a child of that (the relationship=4, child):

oTreeview.Nodes.Add(cRootKey,4,cChildKey,"Child Item")
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform