On 07/10/2010 05:49 PM, Daniel Lenggenhager wrote:
> Hi all,
>
> I use a TextField with LiveUpdate and my problem is the last call of
> changeValue if the widget lose the focus (i.e. mouse click to another
> widget).
> Is there a way to prevent this action of the last call?
If you are talking about the changeValue *event* firing, what is the
value of the changeValue event data on focus-loss? Could you determine a
change from that?
> The second one was to check the focus of the TextField in the
> changeValue method, but i don't found a property in the api.
You could try qx.ui.core.FocusHandler.getInstance().isActive(widget)
("active" is the interesting property for key input).
T.
>
> Thanks for the help,
> Daniel
>
>
>
> ------------------------------------------------------------------------------
> 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
------------------------------------------------------------------------------
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