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

END

Gambas 2.21.x, ubuntu 10.4, gb.qt

Regards,
Ron_2nd.

>> 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
>
>
>
>
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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

Reply via email to