>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.