Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Expanding a Treeview node in code
Message
 
 
À
15/02/2001 11:04:57
Fabian Valencia
Calamos Asset Managment Inc.
Naperville, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00476303
Message ID:
00476315
Vues:
16
>How do I expand a treeview control in code. If I click on the + the expand event in the control fires and expands the node but if I call the expand event from code passing it the node object I want to expand the event fires but the node doesn't expand. If anyone can help this would be greatly appreciated
>
>Thanks
>Bill Knauer

Control.Nodes("NodeKey").Expanded = .T.

FWIW, the Expand event occurs as a result of expanding a node. All events are that way. They always happen because of something else happening. They don't initiate anything (unless manually overridden to do so).

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