Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » My application have to handle function key F1 itself.How to do it?(RAP F1 Help)
My application have to handle function key F1 itself.How to do it? [message #547020] Wed, 14 July 2010 23:46 Go to next message
Eclipse UserFriend
Hi all experts,
My application have to handle function key F1 itself.How to do it?

I want to do like this:
When user press the key of F1 for help, it will popup a new custom window, but not the default IE help window.

Best Regards
Re: My application have to handle function key F1 itself.How to do it? [message #547035 is a reply to message #547020] Thu, 15 July 2010 03:08 Go to previous messageGo to next message
Eclipse UserFriend
Hi, Iyp.

Try to use this way http://wiki.eclipse.org/RAP/FAQ#How_do_I_implement_a_key_bin ding_that_triggers_a_Command.3F to implemented KeyListener to handle F1 pressing.
Guess it helps.

Yury.
Re: My application have to handle function key F1 itself.How to do it? [message #547039 is a reply to message #547020] Thu, 15 July 2010 03:49 Go to previous messageGo to next message
Eclipse UserFriend
The nature of RAP doesnt alouw Function keys (F1 up to F12). Remember that RAP runs in a sandbox (the Browser they often have set functions to the Function keys (e.g. F1 in Google Chrome is new TAB)). This means binding keys to Function keys like F1 is impossible unless you change the Browser your end user works with (writing your own or something like that but even then I think qooxdoo dont support it.

You can by using the given link bind keys to CTR+1 etc. But I have a hard head in bidning keys with F1 etc.
Re: My application have to handle function key F1 itself.How to do it? [message #547062 is a reply to message #547020] Thu, 15 July 2010 07:05 Go to previous message
Eclipse UserFriend
Hi,

you can use Control#addHelpListener. This even prevents the native help
window from the browser itself and you can fire up your own help window.

Regards,
Ben

lyp wrote:
> Hi all experts,
> My application have to handle function key F1 itself.How to do it?
>
> I want to do like this:
> When user press the key of F1 for help, it will popup a new custom
> window, but not the default IE help window.
>
> Best Regards


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Previous Topic:BIRT integration
Next Topic:RAP acess problem
Goto Forum:
  


Current Time: Sat Jul 05 08:49:33 EDT 2025

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

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

Back to the top