Connecting Tech Pros Worldwide Help | Site Map

Clock in Form

  #1  
Old March 12th, 2006, 12:35 PM
JDW
Guest
 
Posts: n/a
How can I set an analogue clock in a Form ?

JDW
Belgium
Europe.
  #2  
Old March 12th, 2006, 09:35 PM
salad
Guest
 
Posts: n/a

re: Clock in Form


JDW wrote:
[color=blue]
> How can I set an analogue clock in a Form ?
>
> JDW
> Belgium
> Europe.[/color]
Create a field to display time in whatever format you like. Then set a
timer interval in the form to update the time. Check out the
TimerInterval and OnTimer properties in the form's property sheet.

Be aware that the overhead on the form will slow the form down. Also,
remember that the timer interval is in milliseconds. Thus, 1 second is
1000.

Your OnTimer event might be something like
Me.TextField = Time()

It might be better to simply have the folks look at the time in the
start bar.
  #3  
Old March 14th, 2006, 12:05 PM
JDW
Guest
 
Posts: n/a

re: Clock in Form



"salad" <oil@vinegar.com> schreef in bericht
news:0g0Rf.3427$k75.1813@newsread3.news.atl.earthl ink.net...[color=blue]
> JDW wrote:
>[color=green]
>> How can I set an analogue clock in a Form ?
>> JDW
>> Belgium
>> Europe.[/color]
> Create a field to display time in whatever format you like. Then set a
> timer interval in the form to update the time. Check out the
> TimerInterval and OnTimer properties in the form's property sheet.
>
> Be aware that the overhead on the form will slow the form down. Also,
> remember that the timer interval is in milliseconds. Thus, 1 second is
> 1000.
>
> Your OnTimer event might be something like
> Me.TextField = Time()
>
> It might be better to simply have the folks look at the time in the start
> bar.[/color]



Thanks,
but look at http://wereld.startkabel.nl/k/wereld/index.php?nr=1
This is the clock I want in a Form...

JDW


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with Digital Clock showing in Form Text box. ANB8503 answers 1 October 16th, 2009 06:44 AM
SOURCE CODE FOR DIGITAL CLOCK IN C LANGUAGE mohsinalishah444@hotmail.com answers 24 June 21st, 2007 02:45 PM
how to display clock in asp.net web page Daniel answers 2 November 19th, 2005 06:09 PM
Increment time in form Targa answers 2 July 23rd, 2005 11:22 AM