A antonellac Registered User. Local time Today, 06:20 Joined Aug 15, 2004 Messages 15 Aug 22, 2004 #1 How can I make the clock on a form move - it stops the second I enter in the form. see attachment Attachments image1.JPG 45.3 KB · Views: 187
Mile-O Back once again... Local time Today, 05:20 Joined Dec 10, 2002 Messages 11,316 Aug 22, 2004 #2 Set the form's TimerInterval to 1,000 and then, in the Timer event, put the following code: Code: Me.MyLabel.Caption = Now Where MyLabel is the name of your label. I'd question the wisdom of putting a clock on your form because: It will slow some processes down due to the constant update via the Timer event; If you look at the bottome right of your screenshot there's already a clock displaying the current time.
Set the form's TimerInterval to 1,000 and then, in the Timer event, put the following code: Code: Me.MyLabel.Caption = Now Where MyLabel is the name of your label. I'd question the wisdom of putting a clock on your form because: It will slow some processes down due to the constant update via the Timer event; If you look at the bottome right of your screenshot there's already a clock displaying the current time.
A antonellac Registered User. Local time Today, 06:20 Joined Aug 15, 2004 Messages 15 Aug 23, 2004 #3 The problem is that it does not show the date - one has to stay clicking etc. so for the convenience of the user it is wise to do so. Many thanks for your kind reply. Killer.
The problem is that it does not show the date - one has to stay clicking etc. so for the convenience of the user it is wise to do so. Many thanks for your kind reply. Killer.