Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView detecting root and child
Message
De
02/04/1997 18:40:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00026636
Message ID:
00026689
Vues:
30
>You can use Node properties Parent, Child, Root, etc., so true value for
>ISNULL(thisform.myOleTree.SelectedItem.Parent)
>or
>ISNULL(thisform.myOleTree.Nodes(1).Parent)
>means that it is a root node.

So, if I have 3 items which are starting a root, SelectedItem.Parent will returns .T. for them.

Thanks.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform