Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » [neon] F1 Keystroke
[neon] F1 Keystroke [message #1759873] Wed, 19 April 2017 11:52 Go to next message
Adrian Bärtschi is currently offline Adrian BärtschiFriend
Messages: 4
Registered: April 2017
Junior Member
We tried to set a keystroke for "F1" in our application (with a subclass of AbstractKeyStroke).
In order to make it work correctly, we had to override the (private) JavaScript function _isHelpKeyStroke in the module sout.KeyStrokeManager to change it to a different key (F4).

Could this override of _isHelpKeyStroke cause any problems or is there another way to implement the F1-Keystroke?

Many thanks

[Updated on: Wed, 19 April 2017 12:11]

Report message to a moderator

Re: [neon] F1 Keystroke [message #1763691 is a reply to message #1759873] Thu, 18 May 2017 15:33 Go to previous messageGo to next message
Claudio Guglielmo is currently offline Claudio GuglielmoFriend
Messages: 162
Registered: March 2010
Senior Member
Hi Andreas,

overriding this function should work just fine.

The only thing I can think of is that you should check if it still works whenever you update Scout to a new major release. Since you don't get any compile errors with JavaScript you will only know at runtime if it does not work anymore.

Regards
Claudio
Re: [neon] F1 Keystroke [message #1763734 is a reply to message #1763691] Fri, 19 May 2017 07:41 Go to previous message
Adrian Bärtschi is currently offline Adrian BärtschiFriend
Messages: 4
Registered: April 2017
Junior Member
Hi Claudio,

Thanks for the hint with the update, we will keep that in mind.

Regards, Adrian
Previous Topic:TablePage - Load more Data on Scrolling
Next Topic:[6.0.300.0] NEON MessageBox not showing when Navigation is not visible
Goto Forum:
  


Current Time: Fri Dec 15 14:20:52 GMT 2017

Powered by FUDForum. Page generated in 0.01937 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software