Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I list all the flds on a FORM?
Message
De
31/10/1997 21:54:28
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00047201
Message ID:
00057732
Vues:
40
>>>you don't have fields on the form you have objects which can be bount to
>>>fields (or not)
>>>
>>>Arnon
>
>Insofar as doing this after form instantiation (rather than during form design) Arnon's reply is key, Use an object reference to the form and go after the CONTROLS collection array:
>
>For Each oControl in oMyForm.Controls
> && oControl will now enumerate each "field" in your form as an object reference to that control.
> && If you want to know what type of "field" it is, or what its name is, just reference oControl.BaseClass or oControl.Name
>EndFor
>
>also, oMyForm.ControlCount will tell you how many controls are on the form.
thanks Mark for the information
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform