Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview not collapsing
Message
De
16/07/2002 09:31:05
 
 
À
16/07/2002 07:16:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00679015
Message ID:
00679063
Vues:
26
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?...

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform