>>How can I tell if an object is a container?
>
>Try:
>
>if PEMSTATUS( yourObject, "ControlCount", 5) = .T. OR ;
> PEMSTATUS( yourObject, "ButtonCount", 5) = .T.
>*-- your object is a container !
>endif
That could work, if you added a few more like formcount, columncount,...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.