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.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 >
You can use the Wait keyword, see http://gambasdoc.org/help/lang/shell Something like: SHELL command Wait TO checksum ++ ------------------------------------------------------------------------------ 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