Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

Suggestion: Easy to use wait cursor

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Thanks for the suggestion.
    REF: SUFSUG-4
    Darryl
    Indigo Rose Corporation

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

    Comment

    Working...
    X