Timer

T

teddy7777

Hi all,

I would like to put timer for Form_Load(). What I want is every
second refresh Form_Load()? Any idea?

Regards,
Teddy.
 
D

Douglas J. Steele

You mean you want to rerun the code that's in the Form_Load event procedure
every second? No offense, but why?

All forms have timers built into them. To set the timer, set the form's
TimerInterval property (you set it to the number of milliseconds you want
between events, so 1 second would be 1000), then put the code you want run
into the procedure for the form's Timer event.
 
T

teddy7777 via AccessMonster.com

Thanks.

Regards,
Teddy.
You mean you want to rerun the code that's in the Form_Load event procedure
every second? No offense, but why?

All forms have timers built into them. To set the timer, set the form's
TimerInterval property (you set it to the number of milliseconds you want
between events, so 1 second would be 1000), then put the code you want run
into the procedure for the form's Timer event.
[quoted text clipped - 3 lines]
Regards,
Teddy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top