Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get the number and reference of specific controls
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00185588
Message ID:
00185687
Views:
15
>Hi John,
>
>Try:
>FOR piEachControl = 1 TO THIS.ControlCount

I suggest a slight change:

> IF (THIS.Controls[piEachControl].BaseClass = "Commandbutton")
> *- Your code here...
> ENDIF
>ENDFOR
>
>HTH!
>Mark

HTH,
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Reply
Map
View

Click here to load this message in the networking platform