Solved

Blinking Text

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now