Connecting Tech Pros Worldwide Forums | Help | Site Map

Clock in Form

JDW
Guest
 
Posts: n/a
#1: Mar 12 '06
How can I set an analogue clock in a Form ?

JDW
Belgium
Europe.

salad
Guest
 
Posts: n/a
#2: Mar 12 '06

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.
JDW
Guest
 
Posts: n/a
#3: Mar 14 '06

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