On 24-11-2010 12:09, Benoît Minisini wrote: >> Hi, >> >> Heres how i "fixed" it, hope it is the right way to display a "wait" cursor >> while a process executes. >> >> ------------------------- >> FMain.Mouse = Mouse.Wait >> WAIT >> Application.Busy = 1 >> >> SHELL "sha512sum lenny.iso" TO actualSUM >> >> Application.Busy = 0 >> FMain.Mouse = Mouse.Default >> ------------------------- >> >> I read "If you call WAIT from an event handler, you may create infinite >> recursions, and then stack overflows" from the Docs, i hope it wouldn't be >> an issue in this case (i.e., if i were to use WAIT for the click event of >> a Button). >> >> Regards, >> Vikram >> > Setting FMain.Mouse and calling WAIT is useless. Application.Busy should > already set the busy cursor for every widget in the application. Otherwise > this is a bug. > > Regards, >
That was what I thought too, but Application.Busy alone is not showing a busy pointer (anymore?) on latest gambas 2 and Ubuntu 10.04 with gb.qt Regards, Ron_2nd. ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user