Disabling keyboard shortcuts to cards
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Disabling keyboard shortcuts to cards
My application has four cards. They are shown depending on which tab or button a user has pressed. I would like to disable changing cards by using the keyboard shortcuts (cmd-2 Go Prev, cmd-3 Go Next, etc.). Can this be done? At least I would need to disable it in the standalone as the rest of the user interface does not change accordingly. Or can I trap these keyboard events and decide if I want to pass them on for default behaviour.
Re: Disabling keyboard shortcuts to cards
Hi ibe,
the IDE <> standalone!
That means if you do not add these shortcuts (in a menu or whatever) to your application, then this will of course not work in your standalone!
But one can use the arrokeys left/right to navigate!
To prevent this just add this line to your "preopenstack" or "openstack" script:
...
set the navigationarrows to false
...
Hope that helps!
Best
Klaus
the IDE <> standalone!
That means if you do not add these shortcuts (in a menu or whatever) to your application, then this will of course not work in your standalone!

But one can use the arrokeys left/right to navigate!
To prevent this just add this line to your "preopenstack" or "openstack" script:
...
set the navigationarrows to false
...
Hope that helps!
Best
Klaus
Re: Disabling keyboard shortcuts to cards
Thanks Klaus, just what I needed.
Re: Disabling keyboard shortcuts to cards
Wow, I did not know this. I'm glad I stumbled upon this.Klaus wrote:But one can use the arrokeys left/right to navigate!
Jeff M.
Re: Disabling keyboard shortcuts to cards
@Klaus
Thank you for "set the navigationarrows to false" ... still learning!
johdu
Thank you for "set the navigationarrows to false" ... still learning!
johdu
http://www.revclever.com