Information générale
Catégorie:
Contrôles ActiveX en VFP
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement