How to insert a control displaying real time (clock) in a form !!

  • Thread starter Thread starter Medo65
  • Start date Start date
M

Medo65

Hello.
I want to put a control on a form that displays the real
time - or to be more precise - a clock, resembling that
in the system tray.
Is there any idea. Ideas without having to buy or
registre a control are MORE welcomed !!
Thanks .
 
Hello.
I want to put a control on a form that displays the real
time - or to be more precise - a clock, resembling that
in the system tray.
Is there any idea. Ideas without having to buy or
registre a control are MORE welcomed !!
Thanks .

Add an unbound control to your form
Set it's Format property to whatever Time format you wish.

Set the Form's Timer Interval event to 1000
Code the form's Timer event to:
[ControlName] = 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

Similar Threads

A negative display watch 9
Realtime clock on a form 28
Clock - Access Clock on Form 3
Form display 1
Active clock in a form? 2
How do I insert a real time clock in Powerpoint? 1
World Clock in Excel 7
Time clock 1

Back
Top