[Gambas-user] Displaying Mouse.Wait while running a SHELL Command
vikram
austinium at ...43...
Tue Nov 23 11:45:47 CET 2010
Hi,
How do i display a "wait" cursor while a process is running? I have tried using
ME.mouse = Mouse.Wait
without much luck.
Heres a code snippet:
------------------------
ME.mouse = Mouse.Wait
Application.Busy = 1
command = "sha512sum " & filePath & "|awk '{print $1}' "
SHELL command TO checksum
checksum = Left(checksum, Len(checksum) - 1) 'strip \n
txta_checksum.Text = checksum
Application.busy = 0
ME.Mouse = Mouse.DEFAULT
------------------------
I am using Gambas 2.21.
Thanks,
Vikram
More information about the User
mailing list