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

Click here to load this message in the networking platform