> I use
>
> INC Application.Busy
>
> and
>
> DEC Application.Busy
>
> in my applications on Debian Lenny (with LXDE)
> and Gambas 2.21 and it works just fine.
>
> Regards,
> Dimitris
>
> On Wed, Nov 24, 2010 at 9:23 PM, vikram wrote:
> > > Setting FMain.Mouse and calling WAIT is useless. App
I use
INC Application.Busy
and
DEC Application.Busy
in my applications on Debian Lenny (with LXDE)
and Gambas 2.21 and it works just fine.
Regards,
Dimitris
On Wed, Nov 24, 2010 at 9:23 PM, vikram wrote:
> > Setting FMain.Mouse and calling WAIT is useless. Application.Busy should
> > alrea
> 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.
Application.Busy alone is not showing a busy pointer on Debian Squeeze, with
Gambas 2.21.
Regards,
Vikram
--
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 actualSU
> 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.De
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
Hi,
heres a sample program.
iam running sha512sum on file which are 100MB+ in size, its takes around 5
seconds. right now the button stays depressed until the hash has been displayed.
regards,
Vikram
GenerateSHA512.tar.gz
Description: GNU Zip compressed data
Am 23.11.2010 12:40, schrieb vikram:
>> You can use the Wait keyword, see http://gambasdoc.org/help/lang/shell
>
>> Something like:
>> SHELL command Wait TO checksum
>
> Thanks for the quick reply. Adding WAIT to the SHELL command is not causing
> the mouse cursor to change to Mouse.Wait :(
>
> Re
Strange, this simply works here:
' Gambas class file
PUBLIC SUB Form_Open()
END
PUBLIC SUB Form_Activate()
DIM Checksum AS String
ME.Mouse = Mouse.Wait
Application.Busy = TRUE
SHELL "ls -lR" TO checksum
Application.Busy = FALSE
ME.Mouse = Mouse.DEFAULT
'PRINT checksum
>You can use the Wait keyword, see http://gambasdoc.org/help/lang/shell
>Something like:
>SHELL command Wait TO checksum
Thanks for the quick reply. Adding WAIT to the SHELL command is not causing the
mouse cursor to change to Mouse.Wait :(
Regards,
Vikram
Le mardi 23 novembre 2010 11:45:47, vikram a écrit :
> 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.Bu
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 com
12 matches
Mail list logo