Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing a toolbar cmdbutton from within a form?
Message
 
To
20/09/1999 11:49:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00266737
Message ID:
00266740
Views:
19
>Hi Paul ----
>
>Dunno about MaxFrame, but the best way to do this in general is to assign a Menu item to the function and define the hotkey for the menu item as desired. Then, you can assing the command oToolbars.iaTbrInstances[1,1].cmdSave.click() to the menu item as a Command.
>
Hi Gonz,

Yep that'd be the best way to do it. I believe that the "rule of thumb" here is never to create a toolbar button that doesn't reflect a commonly used menu option. Since common menu options usually have hotkeys...
George

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

Click here to load this message in the networking platform