Event for whole workscreen
4 posts
• Page 1 of 1
Event for whole workscreen
Hi!
I want to create a key pressed event which works for the whole workscreen (so, for all components in this workscreen). Is there a possibility to create something like a "global event" or do I have to add an event listener to every component?
Thanks in advance.
I want to create a key pressed event which works for the whole workscreen (so, for all components in this workscreen). Is there a possibility to create something like a "global event" or do I have to add an event listener to every component?
Thanks in advance.
- JuFi
- Posts: 12
- Joined: Thu Oct 11, 2018 2:20 pm
Re: Event for whole workscreen
What's the use-case?
The problem with global hotkeys is that they are not supported in all technologies (web/desktop/mobile), and if you have a MDI application (multiple windows), it's not clear which window should get the notification.
It's possible to set hotkeys for buttons or menuitems.
The problem with global hotkeys is that they are not supported in all technologies (web/desktop/mobile), and if you have a MDI application (multiple windows), it's not clear which window should get the notification.
It's possible to set hotkeys for buttons or menuitems.
-
Support@SIB - Posts: 353
- Joined: Mon Sep 28, 2009 1:56 pm
Re: Event for whole workscreen
I wanted to open a dialog which is only accessible from a specific workscreen. So my shortcut should also only work on this specific workscreen and not in the whole application.
- JuFi
- Posts: 12
- Joined: Thu Oct 11, 2018 2:20 pm
Re: Event for whole workscreen
But what should happen if you have different screens open and the same shortcut for different actions?
It should work if you add a button to your screen with a shortcut (e.g. in the NavigationTable). This button could be used as shortcut receiver and as hint for the user because it can click without knowing the shortcut.
It should work if you add a button to your screen with a shortcut (e.g. in the NavigationTable). This button could be used as shortcut receiver and as hint for the user because it can click without knowing the shortcut.
-
Support@SIB - Posts: 353
- Joined: Mon Sep 28, 2009 1:56 pm
4 posts
• Page 1 of 1