Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Blinking Text

Posted on 1998-08-06
3
Medium Priority
?
228 Views
Last Modified: 2010-04-30
How do I create a form caption with blinking text in VB3?
0
Comment
Question by:fitzpa
[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
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
ElmerFud earned 200 total points
ID: 1468195
You have to use a timer control, set the interval to what rate you want your text to blink, enable it and use some code like this:

Private bBlinkOn as Boolean

Private Sub Timer1_Timer()
  if bBlinkOn then
    me.Caption = "My Form has a blinking caption!"
  else
    me.caption = "My Form has a"  
  end if
End Sub
0
 

Author Comment

by:fitzpa
ID: 1468196
Thanks ElmerFud! You're a lifesaver. You've saved me a lot of time. I had researched Microsoft Developer's Network and had not found an answer. It looks so simple when someone show's you  how....
Thanks again.
0
 
LVL 1

Expert Comment

by:ElmerFud
ID: 1468197
no problem.  :-)
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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…
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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

705 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