Skip to Content
author's profile photo Former Member
Former Member

How Do I Display Wait or Default Cursor in SAP B1 UserDefined Forms

Hi All,

I would like to know the syntax to display the wait and default cursor to be displayed in User Forms. Since on load of my form i display a huge amount of data. For that reason i need to display the user the Cursor to WAIT and when the entire data is loaded then the cursor should show DEFAULT.

Here is a snippet of code which is there for but doesn't work in SAP B1.

Inherits System.Windows.Forms.Form

Cursor = System.Windows.Forms.Cursors.WaitCursor



Cursor = System.Windows.Forms.Cursors.Default

Can any one show the syntax as required for SAP B1 forms.




Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 06:42 AM


    your code(Cursor = System.Windows.Forms.Cursors.WaitCursor) is correct but you need to place this code under menu click event(from which you are opening the form) in beforeaction (true).

    and you place thisline(Cursor = System.Windows.Forms.Cursors.Default) after loading your data.

    Hope it helps you



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.