Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this a container?
Message
From
20/07/1998 12:55:47
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00119295
Message ID:
00119334
Views:
16
>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

Alex.
Alex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform