Current time on forms

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?
 
W

Wayne Morgan

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.
 

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