Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this a container?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00119295
Message ID:
00119343
Views:
23
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform