on 01-30-2008 6:22 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.