Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView detecting root and child
Message
From
02/04/1997 18:40:53
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00026636
Message ID:
00026689
Views:
28
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform