Hi @ all

I have a small problem with the focus handling. It simply didn't work for me ;)

I have a atom object with an added label and an added (but hidden) editfield. 
(I'm not sure if this is the best way, but it seems to work in the rest for me).
When the user clicks on the atom (or label, but it seems that allways the atom 
fires the event) the label is hidden (setDisplay(false)) and the editfield 
shown (setDisplay(true))

But how can I set the focus (the blinking cursor) inside of the editfield when 
it appears?

I tried it with this code: 

this._editField.setFocused(true);
this._editField.focus();

I also checked the sourcecode of qooxdoo but could not find another relevant 
function for that.

In my example the editfield is shown, but not focused. Any ideas?
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192


-------------------------------------------------------------------------
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