Timer.

TheOx2K

Registered User.
Local time
Today, 02:50
Joined
Feb 19, 2002
Messages
28
Hi All.

I have a problem where a form i am using has several text boxes and when on the move move event the boxes make other items appear. But because i have now() refeshing on timer every second the whole form seem to blink and flicker because of the timer.

Is there anyway that i can do some simple code so that the timer only refreshes the date or that the form will stop flicking.
 
The timer updates the now() & time() every second to show seconds on the clock.
 
If your just displaying the time you don't need refresh, there is an easier way, type Clock in help for the code to display the time in a label.
 
Clock Code

For some reason I cant get the code to create the clock.

I have a NOW function that works perfectly fine I would just like the clock to refresh every second.
 
In the OnTimer event type

Me.Caption = Now


and set the timer to 100

the time now appears in the caption bar and refreshes every second

Col
:cool:
 
that would be 1000, not 100 as the timer interval is in Milliseconds.
 

Users who are viewing this thread

Back
Top Bottom