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.
 
Top