Hi Bill,
Why not use:
TYPE("This.Parent") = "O"
>What is the best way to tell if an object has a parent? If you check the VARTYPE(This.Parent) you get a FoxPro error if the parent doesn't exist. The PEM exists but you can't check its VARTYPE. The only KLUGE I have been able to come up with is to check if the UPPER of the Object Hierchary = the UPPER of the Object Name. Is there a better way?
Charlie