Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timers in Delphi

Status
Not open for further replies.

hector8891

Programmer
Mar 20, 2008
3
GB
hi every one
im looking to make a timer, in order to make a label tick upwards
i need to be able to stop and start the timer by clicking a button, i would also like to choose the time interval, i.e it goes up by one digit every two seconds, is this possible

thanks in advance
 
Yes, drop a TTimer component on a form, it can do all the things you've requested.

Leslie

In an open world there's no need for windows and gates
 
TTimer can do this. You would set the .enabled property to true or false in your button.OnClick event and you can set the interval.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top