At 09:33 AM 8/3/2009, Dee Georgeson wrote:

Can anyone tell me if it is programmatically possible to change the
mouse cursor to the default hourglass when I'm running a long process?

Dee,

If you wish to change the cursor while hovering over a control in form,
use the following supported PROPERTY, (also mentioned by Bill Downall)
in his earlier reply.

-- Syntax:

   PROPERTY <ControlCompID> CURSOR 'cursortype'

-- Supported Cursor Types:

   . AppStart
   . Arrow
   . Cross
   . Default
   . Drag
   . HandPoint
   . Help
   . HourGlass
   . HSplit
   . IBeam
   . MultiDrag
   . No
   . NoDrop
   . SizeAll
   . SizeNESW
   . SizeNS
   . SizeNWSE
   . SizeWE
   . SQLWait
   . UpArrow
   . VSplit

-- Example
   PROPERTY <ControlCompID> CURSOR 'HourGlass'
   RETURN

However, if you wish to dynamically change the cursor type throughout
the application, or conditionally when running a routine, follow the
steps below to use new PROPERTY command:

01. Start R:BASE Turbo V-8 (Build: 8.0.21.30820 or higher ...)

02. Use the following PROPERTY command in application startup file:

    PROPERTY APPLICATION CURSOR 'cursortype'

    -- Example
    PROPERTY APPLICATION CURSOR 'HourGlass'

03. To switch back to normal cursor

    -- Example
    PROPERTY APPLICATION CURSOR 'Default'

That's all there is to it!

Very Best R:egards,

Razzak.


Reply via email to