Current time on forms

  • Thread starter Thread starter Bhavin
  • Start date Start date
B

Bhavin

I have worked out how to insert a current time on a form
but is it possible to have one that increments on a second
basis using the system clock?
 
Yes, to do this you need to set 2 items on the Events tab of the form's
properties sheet. The OnTimer event and the TimerInterval. The interval in
is milliseconds so 1000 = 1 second. Set the OnTimer event to [Event
Procedure] and in that procedure, set the control to the current time.
 
Back
Top