Define ADXKeyboardShortcut at runtime

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

Define ADXKeyboardShortcut at runtime
 
Andre Herrmann




Posts: 3
Joined: 2022-11-05
Hello,

I'm wondering if there is a way to define ADXKeyboardShortcuts at runtime? The main reason why I'm asking is that I would like to let the user decide which shortcut to use.

So let's say I have a function called shortCutTest() that is assigned to "Ctrl+P" and the user would like to change it to "Ctrl+O".

Is there a way to do that?

Thanks
Posted 13 Dec, 2022 03:25:21 Top
Andrei Smolin


Add-in Express team


Posts: 18816
Joined: 2006-05-11
Hello Andre,

You can change ADXKeyboardShortcut.ShortcutText at the run time.

Regards from Poland (GMT+1),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Dec, 2022 06:03:28 Top
Andre Herrmann




Posts: 3
Joined: 2022-11-05
Thanks. That helped.
Posted 14 Dec, 2022 08:32:45 Top
Andrei Smolin


Add-in Express team


Posts: 18816
Joined: 2006-05-11
You are welcome!

Regards from Poland (GMT+1),

Andrei Smolin
Add-in Express Team Leader
Posted 14 Dec, 2022 10:08:48 Top