progress bar should go to 110% for motivation
· #1my boss says the team should give 110 percent
so i want my TProgressBar to go to 110
i set Position := 110 and it just stops at the end. is the component lazy
my boss says the team should give 110 percent
so i want my TProgressBar to go to 110
i set Position := 110 and it just stops at the end. is the component lazy
The component is honest, which in this case is the same thing.
Position is kept between Min and Max. The defaults are 0 and 100, so asking for 110 gives you 100. If you want the number 110 to exist:
ProgressBar1.Max := 110;
ProgressBar1.Position := 110;Now the bar is full at 110. Note that it looks exactly like 100 percent did before. A full bar is a full bar. The extra ten percent lives only in your heart and in the Max property.
I once shipped a progress bar that reached 100%, waited, and then did the actual work. The customer said it was the fastest version yet. I have thought about that every day since.
If the real goal is motivation, a progress bar that goes backward now and then is closer to how projects feel.
set max to 110. it works. boss is happy
he wants 200 next quarter
Max is an Integer. You have room to grow.
Forum rules 1 to 10 apply. Yes, to you.