Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically Expand node in Treeview
Message
 
 
À
24/10/2001 13:37:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00572716
Message ID:
00572766
Vues:
34
This message has been marked as a message which has helped to the initial question of the thread.
>>Expand is an event that occurs when a node is expanded. It is not a method to Expand a specified node.
>
>True, I didn't see it that way.
>
>
>>Try:
>>THISFORM.MenuTree.Nodes(nNodeKey).expanded = .T.
>
>I found the EXPANDED property in the help file. The example show a numeric value for the node. Nodes(1).expanded = .T. When I said KEY I meant the KEY I gave it when I added it. i.e. ABA01
>
>How could I now find this numeric value based on the KEY I gave it?

Nodes() is a collection that will take a numeric value or the character Key expression and return the corresponding node. You can use your Key value.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform