HI Dietrich:
Are you try "onkeydown" event,you could add code . e.g
"  if(event.keyCode==13){
    event.keyCode=null;
    // do it
  }
" 

Perhaps could help you...

candy...





Dietrich Streifert wrote:
> 
> Hello List!
> 
> I have a modal qx.ui.window.Window wich contains a qx.ui.form.Button. I 
> would like to attach an eventhandler which reacts on the return or enter 
> key without having to focus the button.
> 
> How can I do this?
> 
> In pre namespace times there was the possibility to attach a QxCommand 
> to a QxButton.
> 
> Thank you for your answers.
> 
> Best regards...
> 
> -- 
> Mit freundlichen Gr??en
> Dietrich Streifert
> Visionet GmbH
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-do-I-associate-the-return-key-to-a-qx.ui.form.Button-which-activates-without-focusing-the-button-tf2357093.html#a6584833
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to