Re: SetAccesskey question...

2008-10-26 Thread jhpark

thank for your answer..

But I don't understand your answer. May be my question is strange...
( english problem.. )

I know keyboard event. ( keyPress, keyDown etc )

I want know is that setAccessKey()...

setAccessKey event is static.. ( = mouse focus not need )

btn.addKeyEvent( ~~ ) is local.. ( = mouse focus need )

example))
short cut :  Ctrl + F

I want CTRL + F = alt + f  + c

thank... I need your help.






On 10월24일, 오후6시36분, bc [EMAIL PROTECTED] wrote:
 you will need to add a keyboard listener to the button.  Check out the
 doc 
 here:http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g

 Button will source the keyboard events - the modifiers will be passed
 to you via a combination of the bits defined by MODIFIER_SHIFT,
 MODIFIER_CTRL...

 On Oct 23, 11:52 pm, jhpark [EMAIL PROTECTED] wrote:

  Sorry I can't write english well...

  Button btn = new Button();

  btn.setAccessKey('r');  - only 'r';

  alt + r -- button work...

  but I want 'r' and ' t'
  alt + r + t == button work..

  and
  alt + ctrl + r == button work...

  It is posibble ?

  thank...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SetAccesskey question...

2008-10-24 Thread bc

you will need to add a keyboard listener to the button.  Check out the
doc here: 
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/KeyboardListener.html.

Button will source the keyboard events - the modifiers will be passed
to you via a combination of the bits defined by MODIFIER_SHIFT,
MODIFIER_CTRL...


On Oct 23, 11:52 pm, jhpark [EMAIL PROTECTED] wrote:
 Sorry I can't write english well...

 Button btn = new Button();

 btn.setAccessKey('r');  - only 'r';

 alt + r -- button work...

 but I want 'r' and ' t'
 alt + r + t == button work..

 and
 alt + ctrl + r == button work...

 It is posibble ?

 thank...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



SetAccesskey question...

2008-10-23 Thread jhpark

Sorry I can't write english well...

Button btn = new Button();



btn.setAccessKey('r');  - only 'r';

alt + r -- button work...

but I want 'r' and ' t'
alt + r + t == button work..


and
alt + ctrl + r == button work...

It is posibble ?

thank...



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---