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:
00185592
Views:
13
Hi John,

Try:
FOR piEachControl = 1 TO THIS.ControlCount
IF (THIS.Controls[piEachControl].Class = "Commandbutton")
*- Your code here...
ENDIF
ENDFOR

HTH!
Mark


>Hi,
> How could I get the amount of specific controls in a container e.g. only command button?? After, It would let me to reference it...
>Thank you
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform