Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object List
Message
 
À
22/06/2001 07:53:14
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00522334
Message ID:
00522369
Vues:
9
Jimi,
You can use Controls property of form to enumerate all controls on form:
For i=1 to Thisform.ControlCount
    If Thisform.Control(i).Class = 'EditBox'
&& Place your code here
    EndIf
EndFor
You can also try to use AINSTANCE(Array, 'EditBox') and check Parent property of instances returned to verify if it belongs to form.

>Hello everyone,
>
>It's me again :p
>
>How can I get a list of object in a form? To be more specfic, I want to examine
>whether the user have filled in all the textbox or not when he click the submit
>button.
>I want to have a list of textboxes and then check them on by one.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform