Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I list all the flds on a FORM?
Message
From
31/10/1997 21:54:28
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00047201
Message ID:
00057732
Views:
35
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform