Hello
I try to use the Status Bar with Progress Bar in my Add-On. The Progress Bar is not set to stoppable (Button disabled).
progressBar = SapUI.StatusBar.CreateProgressBar(Text, Maximum, false);
...
// code
...
progressBar.Stop()
Sometimes SAP B1 throws an Exception "Progress Bar has been stopped" (when i try to start...) although i always Call the Stop function (only programmatically). I also tried to save the ProgressBar object globally or creating a different thread.
It occurs when i use it in different User Forms. (When i start the Add-On i also display the progress bar while adding the menus)
Also, i did not find another way to set the Wait Cursor (something like Application.Cursor = Cursors.Wait).. It didnt work with WinAPI Functions (SetCursor) either..