Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Expand treeview
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00647884
Message ID:
00647911
Vues:
19
>>>Hi Nick.
>>>
>>>>I have the following code, my only problem is how do I identify the nodekey?
>>>>
>>>>*cmdbuttonexpand
>>>>.OleTreeView.nodes(.llnode).expanded = .t.
>>>
>>>Since your NodeClick code set llNode to the parameter passed to that method, which is an object reference to the node itself, you should change this code to:
>
>for each loNode in Thisform.OleTreeView.nodes
>  Thisform.llNode.Expanded = .T.
>endfor
>
>
>Doug
>>
>>Thanks for replying back Doug, your code worked except I need it to expand all the child nodes from the selected nodes. Is this even possible?
>>
>>Thanks again
>>Nick Patel
Thanks for replying, I tried to code, it the selected node only again, but not the rest. I did notice that my tree was flickering as if it was try to expand, but only one node expanded.

Thanks
Nick Patel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform