Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this a container?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00119295
Message ID:
00119433
Vues:
23
>
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform