Solved

Blinking Text

Posted on 1998-08-06
3
217 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
Comment Utility
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
Comment Utility
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
Comment Utility
no problem.  :-)
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…

772 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

12 Experts available now in Live!

Get 1:1 Help Now