Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List of controls
Message
 
À
13/10/1997 13:26:28
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00054332
Message ID:
00054359
Vues:
37
>I know I have seen this question on UT before, but I can't seem to locate it. How do I programmatically build an array of all of the controls on a form?
>
>Ed
Ed,

Do you know that the form has a controls collection that is already a list of all the contorls in the form?

FOR lnCnt = 1 TO THISFORM.ControlCount
? THISFORM.Controls(lnCnt).Name
ENDFOR

this code will display the name of every control in the form.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform