Click to See Complete Forum and Search --> : Timer interval change constantly


ant
June 22nd, 2001, 09:44 AM
I have a label and a timer. The timer interval is set to .9. When the person clicks a button the timer is supposed to increase the label by 1, then after 3 seconds it slows down a little bit, then a little bit more etc. until the label stops going up completely. how would i do that?

--Ant
--------------------------------------------------
check out my newest freeware
E-mail me at: cgeorge@thevortex.com
for the address

Ghost308
June 22nd, 2001, 03:17 PM
Let's say you start with the interval X (gotta love algebra...).
When the interval occurs, add a percentage of X to itself to increase the interval. As the interval increases, the amount added increases.

X = X + (.01)(X) 'Add 1% of X to itself
Timer1.Interval = X