Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to search all the objects of a form ...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00682946
Message ID:
00682948
Vues:
19
>I forgot how to go thru all the objects of a form, I know it is with thisform.objects(n).... but, how can I know the limit of the objects array ALEN(thisform.Objects) does not function. ...

Hi, Amilcar. Here goes:
For each oControl in Thisform.Controls
	? oControl.Name
Next 
You may know the number of controls querying the property ControlCount, like this:
? Thisform.ControlCount
HTH
Claudio Lassala
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform