[Gambas-user] about process

Rob sourceforge-raindog2 at ...94...
Sat Dec 6 18:43:21 CET 2003


On Saturday 06 December 2003 06:33, daniel wrote:
> > When you WAIT in a program, you don't want the user to
> > interact with the application. If you want that, just return
> > to the event loop. If you can't, then your program may be
> > badly written.
> May be you want the user to press the 'Cancel' button...

I have usually been back in the main event loop when I've wanted 
a cancel button (e.g. a long running process launched with 
SHELL, a wait for the HTTP client to retrieve a page) but I 
suppose there might be instances where you wanted to have a 
cancel button available on some long-running process inside your 
Gambas code itself.

Rob






More information about the User mailing list