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:
00119357
Vues:
18
Telling if an object is a container...

PROCEDURE cont_check
PARAMETER cobject
DO CASE
CASE PEMSTATUS(&cobject.,"Controls",5) ;
OR PEMSTATUS(&cobject.,"Buttons",5) ;
OR PEMSTATUS(&cobject.,"Pages",5) ;
OR PEMSTATUS(&cobject.,"Columns",5)
RETURN .T.
OTHERWISE
RETURN .F.
ENDCASE
EndProc

Of course what you check with pemstatus() is up to you...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform