[fxruby-users] FXDataTarget & widget value update delay

Philippe Lang philippe.lang at attiksystem.ch
Wed Oct 4 02:26:33 EDT 2006

fxruby-users-bounces at rubyforge.org wrote:
> On Oct 3, 2006, at 10:34 AM, Philippe Lang wrote:
>> When assigning a new value to an FXDataTarget programmatically, it
>> takes a certain time for the widget linked to this FXDataTarget to be
>> updated, just as if there was some sort of "polling" inside the
>> framework. Delay can be as long as 1 second sometimes. Why aren't the
>> widgets updated straight away?

> Yet another option, but one which sort-of defeats the purpose
> of the GUI update process, is to call forceRefresh() directly
> whenever you make a change to the data target's value, e.g.
> 	datatarget.value = "Foo"
> 	app.forceRefresh
> Calling forceRefresh() causes the application to immediately
> start the GUI update process without waiting for idle time.

I'm developing a client for a database, and in such a scenario, app.forceRefresh is exactly what I need!

Again, thanks for your support, and thanks for FOX. That's really a great great tool.


Philippe Lang
Attik System

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3125 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/fxruby-users/attachments/20061004/07016a13/attachment-0001.bin 

More information about the fxruby-users mailing list