clock on form
On Thu, 12 Aug 2004 10:59:27 -0700,
wrote:
Hello,
How do you place or set up a running clock on a form.Do
you use a command buttom or label and what would be the
properties setting?I have tried to use a label and set a
timer with the on event but i am doing something wrong.
Thanks
You can use a label, but for me an unbound text control works as well.
Add an Unbound text control to your form.
Set it's Format property to a hh:nn:ss
Name this control "ShowTime"
Set the Form's Timer Interval to 1000
Set the Form's Timer event to:
[ShowTime] = Time
If you do use a label, then use:
LabelName.Caption = Format(Time,"hh:nn:ss")
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
|