Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView Control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00354906
Message ID:
00354912
Vues:
18
Charles,

>Hi all!

>How do you determine if a particular node is the root (top most level/parent), child, etc.


A couple of ideas...

IF TYPE("thisform.oletree.selecteditem.parent.key") == "U"
* This is top level
ELSE
* This is a child
ENDIF

or

IF this.key == this.root.key
* This is top level
ELSE
* This is a child
ENDIF


hope this helps,

Phil
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform