Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing a toolbar cmdbutton from within a form?
Message
 
À
20/09/1999 11:49:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00266737
Message ID:
00266740
Vues:
20
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform