Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView detecting root and child
Message
 
À
02/04/1997 15:20:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00026636
Message ID:
00026688
Vues:
29
>How can I detect if a specific item in the treeview is a root or a child?

Michel,

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.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform