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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Two or more timer working together?

Status
Not open for further replies.

010101010101010

Programmer
Oct 6, 2005
5
BA
A want do develope a program which will counting a spend time on computer. So if I put two or three timer it isn¸t work.
example:
I have 5 labels and 5 timer and 5 command button.
I set timer ebled false and do this
Label4.Caption = Label4.Caption + 1 (what will be when timer enabled)
And wrote this to command button
timer1.enabled = true

And when I do this for all labels only one label are working!
Is there any special code will enabled more than one timer that are working at same time!
 
hmmmmmmmmmmmmmmmmmmmmmmm ... mmmmmmmmmmmmmmmmmmmm,

more zeroes than ones?

How are you generating multiple timers? What basic apliocation are you working in?

the more traditional approach seems to be have one timer, set to the smallest interval and just trigger different procedures depending on the multiplier (or count) of tmer ticke ... but that;s just VB and Access




MichaelRed


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top