Information générale
Catégorie:
Codage, syntaxe et commandes
You will need to define a menu equivalent of the button and assign a hot key to this menu.
HTH
>What I want to accomplish, basically, is assign a hotkey to cmdbutton on a toolbar.
>
>I want the end user to be able to hit a function key or some other hot key while in a form and have this fire the click event of a command button on a toolbar.
>
>I was thinking that I could trap the "hot key" in the keypress event of a form and then access the toolbar somehow.
>
>I have Visual Maxframe Pro so I tried accessing the toolbar through the oToolbars object like "oToolbars.iaTbrInstances[1,1].cmdSave.click()". But I have determined that "iaTbrInstances" is protected and so cannot be accessed.
>
>Is there anyway to get the functionality I desire??
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement