Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSTreeview-How to set expanded on
Message
From
27/03/2000 08:21:54
 
 
To
27/03/2000 07:27:29
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00350648
Message ID:
00350671
Views:
22
You could try setting the Expanded node property to .T. as you load each node into the TreeView. For example:-

loNode = ThisForm.TreeView.Nodes.Add(....)
loNode.Expanded = .T.

Performance may suffer a little if you have large numbers of nodes to deal with but their is an API call to stop windows updating through the TreeViews HWND property.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform