Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview again
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00351312
Message ID:
00351319
Vues:
32
Peter,

>I have my treeview populated showing the whole hierarchy. somewhere down the >tree is thecurrent item.
>1) I would like to make this the selecteditem (blue backcolor)
>2) If the user clicks on another item I need to access this.
>.SelectedItem is an objectwhich does not reveal itself in the
>debugger. What is the structure??

2) I've always been able to get thisform.oleTree.SelectedItem.(Property) to show up in the debugger.

1) thisform.oleTree.Nodes.Item(Index or Key).Selected = .T.

Hope this helps,

Phil
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform