Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2008
    Location
    Göttingen, Germany
    Posts
    77

    Suggestion: Easy to use wait cursor

    Hi,

    I sometimes have a lengthly operation, but I don't want to show a StatusDlg, because of localisation or if the operation oly takes a few seconds.

    It would be nice to have an implemented function to switch the cursor to the wait or hourglass one. I know that it is possible with a call to DLL.CallFunction().

    I might be a new function of Application or Window and could be named SetCursor. It returns the id of the previous used cursor. The input parameter is the number of the cursor to use. The input is a predefined constant, for IDC_ARROW, IDC_WAIT.
    By default it could be IDC_ARROW.

    I use Window for my example prototype:

    Code:
    number Window.SetCursor ( number Cursor = IDC_ARROW )
    Code:
    PrevCursor = Window.SetCursor ( IDC_WAIT );
    
    -- lengthly operation
    
    Window.SetCursor ( PrevCursor );
    -- or to get back to IDC_ARROW
    Window.SetCursor ( );
    Best regards,
    Udo

  2. #2
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834
    Thanks for the suggestion.
    REF: SUFSUG-4
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts