[fxruby-users] FXProgressDialog trouble

Lyle Johnson lyle at knology.net
Tue Mar 7 09:26:19 EST 2006

On Mar 6, 2006, at 10:33 PM, Maurice Codik wrote:

> I'm having trouble with FXProgressDialog-- I'm trying to use it to 
> show the progress of a file upload..
> I am running the upload in a separate thread that calls the dialog's 
> destroy method when its done.. the dialog closes, but the application 
> remains non-responsive (as if its still in the execute loop). I've 
> tried sending ID_ACCEPT to the dialog with the same results.

So you are saying that instead of doing this:


At the end of the thread, you're doing this:

	progress.handle(self, FXSEL(SEL_COMMAND, FXDialogBox::ID_ACCEPT), nil)

and that doesn't stop the modal loop and close the dialog box?

More information about the fxruby-users mailing list