Hi Isomorphic,
I have a problem with key down events.
It seems you have changed the key event handling in SGWT 3.0.
I am using the SmartGWT LGPL 3.0 nightly build (12/05/2011) as I couldn't find the released 3.0 on the SmartGWT google code download page.
Tested on browsers IE 9 and FF 3.6.
We have added a key down handler to a TabSet which checks for ctrl + <some other key> combinations. This used to work perferctly well with SGWT 2.5. The code which should be executed on this event isn't triggered anymore if the current focus is on some FormItem within the currently selected Tab. If the focus is on a Canvas (e.g. Button) it works.
Example:
Any suggestion how to get this working again.
Best regards,
Manuel
I have a problem with key down events.
It seems you have changed the key event handling in SGWT 3.0.
I am using the SmartGWT LGPL 3.0 nightly build (12/05/2011) as I couldn't find the released 3.0 on the SmartGWT google code download page.
Tested on browsers IE 9 and FF 3.6.
We have added a key down handler to a TabSet which checks for ctrl + <some other key> combinations. This used to work perferctly well with SGWT 2.5. The code which should be executed on this event isn't triggered anymore if the current focus is on some FormItem within the currently selected Tab. If the focus is on a Canvas (e.g. Button) it works.
Example:
Code:
tabSet.addKeyDownHandler(new KeyDownHandler() { public void onKeyDown(final KeyDownEvent event) { if(Boolean.TRUE.equals(EventHandler.ctrlKeyDown())){ if ("Arrow_Up".equalsIgnoreCase(EventHandler.getKey())) { // do sth. }
Best regards,
Manuel
Comment