|
-
June 29th, 2001, 08:08 AM
#1
different interval?
I have a timer control and it's interval = 0.9. Then i have another timer control it's interval = 9.5. When the second timer times out, It's supposed to unload the form. The problem is when i test out the program, it automatically unloads the form. both timer's intervals were 0.9. But 1 was supposed to be 9.5. Help!!!!!!!!!!!
--Ant
--------------------------------------------------
check out my newest freeware
E-mail me at: [email protected]
for the address
-
June 29th, 2001, 08:24 AM
#2
Re: different interval?
Hello,
Try setting the interval of the second timer on Form_load
Thanks
Harini
-
June 29th, 2001, 08:40 AM
#3
Re: different interval?
i set both of them in the form load
--Ant
--------------------------------------------------
check out my newest freeware
E-mail me at: [email protected]
for the address
-
June 29th, 2001, 08:40 AM
#4
Re: limit on milliseconds
a timer can be set from 55 ms on (til about 60000)
If you set it under 55, it will be as you have not done under.
a difference of 0.5 or 5 millisecond is not perceptible by you. You can see (if you are fast) differences of about 20- 50 ms
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
June 29th, 2001, 08:55 AM
#5
Re: different interval?
Try increasing the time interval with a noticable amount of difference between the two timers.
If this works out, it means the code is working out for your present time intervals also.
Thanks
Harini
-
June 29th, 2001, 09:03 AM
#6
-
June 29th, 2001, 09:13 AM
#7
Re: You did
You did, I do remember. Maybe there's another "memory leack" matter around here...

Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
June 29th, 2001, 09:25 AM
#8
Re: different interval?
Remember that the interval property is measued in thousandths of a second.
If you want your timer to trigger after .9 seconds, set this value to 900 - for 9 and a half seconds, set this value to 9500.
HTH,
D.
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|