Solved

Blinking Text

Posted on 1998-08-06
3
226 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 50 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

752 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