Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Expanding a Treeview node in code
Message
 
 
To
15/02/2001 11:04:57
Fabian Valencia
Calamos Asset Managment Inc.
Naperville, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00476303
Message ID:
00476315
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform