[fxruby-users] Message Popup

Meinrad Recheis meinrad.recheis at gmail.com
Mon Feb 6 15:26:18 EST 2006

On 2/6/06, elKano <d.cano.lagneaux at gmail.com> wrote:
> Hello,
> I am writing an interface to a database. While the code is loading the
> initial data, the program freezes for some 4 or 5 seconds. I would like to
> inform the user that we are loading the data, so I use a little popup (the
> code follows).
> My problem is that the popup does not show as it should; the little
> rectangle comes up, but instead of being filled with a label, it is filled
> with the desktop background.
> Any idea of how should I do?

loading the data in a different thread is a good idea. it gives the
fox mainloop a chance to proceed with screenupdate. i had a similar
problem and have done it this way, but fox still may need some time to
update the screen.
maybe calling thepopup.update after popping it may also help. others
will correct me if i am wrong ;)

-- henon


More information about the fxruby-users mailing list