Solved

Blinking Text

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

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…
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…
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…

803 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