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 everyone, just would like to ask for any tips for u sing ttimers in delphi, please give code snippets and all the tips you all know, thanks everyone
 
im trying to use the timer to make an 7 segment display tick up, like in a stop clock, if thats any help, i need it to stop start, as many times as the user wants, and then finish. i will be using an array for the seven segment display but, for simplicity, lets say it needs to read to a label,
thanks in advance
 
Timers are simple enough. You put the control onto the form. In the design time interface you set the interval for execution (you can do it for runtime too), and whether you want to start the timer as the program starts. Then you define the event that you want to happen, in this case "make an 7 segment display tick up." In run time, you enable or disable the timer as you want through your code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top