?
Solved

Timed events??????

Posted on 1998-06-03
1
Medium Priority
?
157 Views
Last Modified: 2010-05-03
I would like to put a time limit on how long a label box is displayed for.  But I don't know how, can anyone help??????????????
0
Comment
Question by:atlantis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
bin_huwairib earned 100 total points
ID: 1462505
atlantis,

You can add a Timer control and set the Interval property to a specific time, then when Timer's event executed disable the label box or clear it and then disable the Timer.

Example
=======
Private Sub Form_Load()
 Label1.Caption = "testing..."
 Timer1.Interval = 1400
 Timer1.Enabled = True
End Sub

Private Sub Timer1_Timer()
 Label1.Caption = ""
 Timer1.Enabled = False
End Sub


Best regards
Bin Huwairib
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question