Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Should this work?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00550991
Message ID:
00550992
Views:
18
>I do get an error "MYCMDBUTTON1 IS A METHOD, OBJECT, OR EVENT"
>for goon= 1 to 6
>mm='thisform.mycmdbutton'+allt(str(goon))
>&mm='x.cur'
>next

For goon= 1 &mm='x.cur' is equivalent to
thisform.mycmdbutton1 = 'x.cur'
You're assignig value to the commandbutton object.
What property of command button do you want to assign 'x.cur' to?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform