This does not seem to work (at least in QxWindow). I've attached an example.

The first field should get the focus.

Regards...


Sebastian Werner schrieb:

Dietrich Streifert schrieb:

Do you mean EVENT_TYPE_APPEAR?

There does not seem to be a afterAppear event.


yes



Sebastian Werner schrieb:

Dietrich Streifert schrieb:

Hi All,

how do I set the focus to a QxTextField by code?

is it setFocused(true) ?

It does not seem to have any effect.



If you do it initially it should not work - yes. Because the focus state will not be applied after the element creation if configured before. The _visualizeFocus method which does a "elem.focus()" will only work if the element is already available and seeable.

It should be possible to add this focus to the afterAppear event of the field.

Sebastian


Please help...

Regards.




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






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


--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH

Title: qooxdoo demo dev

Modal dialog with QxForm and QxTextArea

Reply via email to