Well I already have such a focus setter which does all this. For now I'm
setting the focus through a selfmade method which directly does the
focus setting on the html element. The problem here is that the
"tab-key" handler is not aware of the focus and does simply nothing. I
manually have to set the focus to a field by a mouse click.
Of course I also did a lot of tests using setFocused(true) with
settimeout etc. with no success. The setFocused(true) method was not
able to set the focus on a field.
I think there is some bug there which causes this behaviour.
Oliver Vogel schrieb:
i know, what i say now is very tricky. but i often had the same
problem in other programming languages.
why not setting a qxtimer with (for example 200ms). the timer is
startet if you open the window and then sets the focus (outside of any
event-handling-method).
Olli
==================================================
Diplom-Informatiker
Oliver Vogel
Geschaeftsfuehrer
Meins und Vogel GmbH E-Mail: [EMAIL PROTECTED]
Esslinger Str. 45 Tel.: +49 (7153) 6136-20
Fax: +49 (7153) 6136-99
D 73207 Plochingen http://www.muv.com/
Handelsregister: Esslingen am Neckar HRB 3536
Geschäftsführer: Dipl.-Inf. Klaus Meins
Dipl.-Inf. Oliver Vogel
==================================================
"wer Rechtschreibfehler findet darf sie behalten"
------------------------------------------------------------------------
*Von:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *Im Auftrag von
*Dietrich Streifert
*Gesendet:* Montag, 28. November 2005 13:13
*An:* [email protected]
*Betreff:* Re: [qooxdoo-devel] How do I set the focus to a
QxTextField by code (renderer branch)
Modal dialog with QxForm and QxTextArea
--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel