Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically Expand node in Treeview
Message
 
 
À
24/10/2001 12:51:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00572716
Message ID:
00572727
Vues:
37
>Hi All,
>
>Is it possible to Programatically Expand a node if I know the Node's KEY?
>
>This does nothing: THISFORM.MenuTree.expand(nNodeKey)
>
>TIA
>Mike

Expand is an event that occurs when a node is expanded. It is not a method to Expand a specified node.

Try:
THISFORM.MenuTree.Nodes(nNodeKey).expanded = .T.

HTH.
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