Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add image to the Toolbar ?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00184681
Message ID:
00192674
Views:
57
>Hi,
> Again, I have found that, the only valid evaluation will be myform.tbrcoolbar1.buttons(1)
> why by key not working since it can be in form's control but not menu?

When the button is created, you must specify the unique key as the second parameter of the Buttons.Add() method. If you do not, the debugger (or menu) won't be able to evaluate it. Remember also that the key is case sensitive. So if the key is actually "Play" and you use "play", you'll get an error.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform