Solved

Timed events??????

Posted on 1998-06-03
1
155 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 50 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

739 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