[Gambas-user] Displaying Mouse.Wait while running a SHELL Command
vikram
austinium at ...43...
Wed Nov 24 12:01:12 CET 2010
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
More information about the User
mailing list