Hi Thomas,

Yes i was talking about the changeValue event and the value is the same 
as the last keyboard press in this TextField. You can see this behaviour 
on the demo site: 
http://demo.qooxdoo.org/current/demobrowser/#widget~TextField.html 
<http://demo.qooxdoo.org/current/demobrowser/#widget%7ETextField.html>

Write something with active liveUpdate and click outside the 
TextField... you'll see in the log file that the last changeValue event 
isn't correct (in my opinion), because there is no change with the 
previous value. A bug?

The hint with the FocusHandler works, thanks for your help.

Daniel

Am 12.07.2010 11:43, schrieb thron7:
>
> 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
>    


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