maybe this would avoid the try catch block:

http://demo.qooxdoo.org/current/apiviewer/#qx.ui.core.Widget~focusable

something like

        if ( this.__previousFocus&&  this.__previousFocus.isFocusable())
        {
           this.__previousFocus.focus();
        }


Regards, Dietrich.

Am 15.07.2010 08:16, schrieb panyasan:
> Hi,
>
> I have put the focus() call into try/catch to avoid the breaking of your app
> in the case you describe. Certainly not an ideal solution but until we find
> a more comprehensive way of dealing with the focus, this should be a
> workaround.
>
> Cheers,
>
> Christian

-- 
Mit freundlichen Grüßen
Dietrich Streifert
--
Visionet GmbH
Firmensitz: Am Weichselgarten 7, 91058 Erlangen
Registergericht: Handelsregister Fürth, HRB 6573
Geschäftsführer: Stefan Lindner




------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to