Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview not collapsing
Message
From
16/07/2002 09:31:05
 
 
To
16/07/2002 07:16:19
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00679015
Message ID:
00679063
Views:
25
You can collapse one node with code like this:
ThisForm.TreeView1.Nodes("SampleNodeKey").Expanded = .F.
This will collapse only that node. If you want to collapse all nodes, you can collapse root node. In this case all other nodes will be not visible, but internally will be not collapsed. I.e. if you expand root node, they also will be expanded. For every node, which you want to be collapsed, you must write code like above.

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Previous
Reply
Map
View

Click here to load this message in the networking platform