Progress Bar
Sebastian Schweer
Hi Everyone,does anybody know, how to create a Progress Bar in Business One?
I tryed with StatusBar..::StatusProgressInfo Class, but it won't work :(
Thanks for your help,
Sebastian
Anders Olsson
Hi Sebastian,Here is an example of how to use StatusProgressInfo:
Form form = Form.CreateNewForm(UniqueStringGenerator.Next(), UniqueStringGenerator.Next());
SwissAddonFramework.Messaging.StatusBar.StatusProgressInfo progress = new SwissAddonFramework.Messaging.StatusBar.StatusProgressInfo("This is the message", SwissAddonFramework.Messaging.StatusBar.StatusRotatorInfo.StatusTypes.Success, 100);
progress.Start();
System.Threading.Thread.Sleep(2000);
progress.SetStep(50);
System.Threading.Thread.Sleep(2000);
progress.Stop();
Kind regards,
Anders Olsson
0
Please sign in to leave a comment.
Comments
0 comments