cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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 vb.net 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.

THANKS IN ADVANCE

Regards,

Murtaza.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI

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

Regards

Vishnu

Answers (0)