Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView - Programmatically collapse levels
Message
 
To
28/04/2004 15:33:33
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00899093
Message ID:
00899096
Views:
38
This message has been marked as the solution to the initial question of the thread.
>How do I programatically collapse levels for the TreeView control. It defaults to expanding all nodes, but I have enough data that I want to control what's expanded and what's collapsed when it first displays.

You can use the Expanded Property
oTree.Nodes(lcSomeChildNodeKey).Parent.Expanded=.F.
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform