Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to search all the objects of a form ...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00682946
Message ID:
00682948
Views:
18
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform