THISFORM.Tree.SelectedItem = THISFORM.Tree.Nodes(1)In re-reading your original post it sounds to me as if ThisForm.Tree.Nodes(1) is the item that is, for some reason, not an object? .SelectedItem will accept a node object or a logical value (as long as it's false) and it looks as if it's not getting either.
IF TYPE("THISFORM.Tree.Nodes(1)") <> "O"
= messagebox("Node not an object")
ENDIF
Regards,
Viv