Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this a container?
Message
De
21/07/1998 07:18:40
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00119295
Message ID:
00119634
Vues:
23
>>>>>>>>How can I tell if an object is a container?
>>>>>>>
>>>>>>>The Baseclass = 'Container'?
>>>>>>
>>>>>>more specifically -- can anything other than a container, page (in pageframe) and form be a container?
>>>>>
>>>>>OIC - Well, how about columns, formsets, toolbars, control objects?
>>>>
>>>>so knowledge only, no property or class designation (unless I want to add it)?
>>>
>>>As far as I know...
>>
>>thanks.
>
>If the object has a .ControlCount property, it is a container.
>
>
>IF PEMSTATUS(_SCREEN.ActiveForm, 'ControlCount', 5)
> Object is a container
>ENDIF
>
>
>HTH

What about PageFrames (PageCount) or FormSets (FormCount)? They are both containers.

Just my $0.02

Rex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform