Keyboard shortcut for ribbon button

Add-in Express™ Support Service
That's what is more important than anything else

Keyboard shortcut for ribbon button
 
gtmoten




Posts: 9
Joined: 2012-09-27
is it possible to invoke (or call) the click event of a TadxRibbonButton from the OnAction event of a TadxKeyboardShortcut?

many thanks
Posted 10 May, 2013 01:22:15 Top
Andrei Smolin


Add-in Express team


Posts: 14674
Joined: 2006-05-11
Hello Geoff,

You can just call the method handling that event. Is this what you are looking for?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 10 May, 2013 03:13:29 Top
gtmoten




Posts: 9
Joined: 2012-09-27
Thanks Andrei - was guilty of badthink. was trying to call the TadxRibbonButton event directly. The simple solution is to extract the TadxRibbonButton code into a separate method & call the new method from each event!
:-)
Posted 13 May, 2013 22:58:28 Top