Basically I want an activity indicator that will show at a glance that there is an active calculation in progress on that tab. I’m looking for something very simple, like showing a gif on the tab, or showing a sequence of strings that change with a timer. I don’t want a complicated solution or a solution that requires new components.
I already have an implementation, but I’m having a problem with it that I’m asking for a more specific solution to here: How to show backslash in a japanese locale
In the case that there isn’t a solution to the other problem, or that there is a significantly better way to do this, I am asking the more general question. In any case, I’m sure that there will be others that could use a good way to do this.
Update :
The simplest way is probably this :
TImageListto your form.cMaxImageIndexto the last index of the animated list.TPageControl.NextImageIndex.ImageIndexproperty.See code :
Note : Before activating the timer, set
FImageIndexto zero, and when work is done you might also have some logic to have a default image for the tab.