Last week in Stockholm norpe showed me how to add a progress indicator Adorner to a ListView when I call an M3 API in a background thread in a Personalized Script for Lawson Smart Office. When I execute a time consuming operation I like to maintain good usability by indicating activity to the user. For that, I used to display a message to the user in a Label like “Loading please wait…”, but that doesn’t catch the eye very well, and/or I used to changed the mouse cursor to Cursor.Wait. but I think that’s a shared resource. So I prefer this new technique.
It’s only two lines of code from Mango.UI.Controls:
ProgressIndicatorAdorner.AddAdorner(element, useOpacity, scaleFactor); ProgressIndicatorAdorner.RemoveAdorner(element);