view label for period of time

pd06498

Registered User.
Local time
Tomorrow, 02:36
Joined
Dec 30, 2003
Messages
80
In my form I have made, I have added a label which becomes visible when records are updated. It works a bit like a message box but is part of the form and only becomes visible once the update is done.

Is there a way that I can put a time on this label so it is only visible for say 10 seconds? I can't seem to find anything on this on this forum.

I have used code to display the label, which is activated on the 'update' button being clicked.

Thanks in advance for any reply.
 
Label

Have you looked at the timer option to set a timelimit for the label???
Have a look it might just work for you :)
 
In the OnClick event of the update button place the following code after the code that makes your label visible...
Code:
          Me.TimerInterval = 4000
and in the forms timer event...
Code:
          Me.YourLabel.Visible = False
          Me.TimerInterval = 0
changing 'YourLabel' to the name of the label in question.

HTH
 

Users who are viewing this thread

Back
Top Bottom