Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PEMSTATUS( )
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00258341
Message ID:
00258356
Vues:
12
>Hi,
> How could I check are there any textbox in my form using PEMSTATUS? Or any others ways?
> What does cobject mean in 2nd parameter of this function?
>
>Thank you
You could scan through all the controls on a for by making a form method with this code:
nContCount = thisform.ControlCount
bPass = .f.
for i = 1 to nContCount
if thisform.Controls(i).Baseclass = 'Textbox'
bPass = .t.
EXIT
endif
endfor
RETURN bPass

Bill
Bill Mittenzwey
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform