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:
00119433
Views:
24
>
>If the object has a .ControlCount property, it is a container.
>
>
>IF PEMSTATUS(_SCREEN.ActiveForm, 'ControlCount', 5)
>     Object is a container
>ENDIF
>
>
>HTH

Colin,

Your test fails to recognize formsets, pageframes and grids. They don't have a controlcount property, but they are containers.
The full list of containers is;

Form
FormSet
PageFrame
Page
Grid
Column
Container
Custom
Control
CommandGroup
OptionGroup
Toolbar

Some of them are specialized containers in that they are limited in what they may contain.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform