wizcow Registered User. Local time Today, 16:05 Joined Sep 22, 2001 Messages 236 Aug 11, 2002 #1 How can I make a textbox blink? I want the title of my form to blink off and on, so as to draw attention to itself. Thanks Tom
How can I make a textbox blink? I want the title of my form to blink off and on, so as to draw attention to itself. Thanks Tom
R. Hicks AWF VIP Local time Today, 17:05 Joined Dec 23, 1999 Messages 619 Aug 11, 2002 #2 You say "Textbox" .... I assume you mean the "Caption" on the top of the form .... Place the following code in the Form's "On Timer" event: Private Sub Form_Timer() If Me.Caption <> " " Then Me.Caption = " " Else Me.Caption = "Place Your Form Caption Here" End If End Sub Change "Place Your Form Caption Here" to what you want as the Title of the form. Set the Timer Interval to what you want (I recommend around 750). Also in the "Caption" property for the form, enter the Title exactly as you have it in the code above. HTH RDH
You say "Textbox" .... I assume you mean the "Caption" on the top of the form .... Place the following code in the Form's "On Timer" event: Private Sub Form_Timer() If Me.Caption <> " " Then Me.Caption = " " Else Me.Caption = "Place Your Form Caption Here" End If End Sub Change "Place Your Form Caption Here" to what you want as the Title of the form. Set the Timer Interval to what you want (I recommend around 750). Also in the "Caption" property for the form, enter the Title exactly as you have it in the code above. HTH RDH
wizcow Registered User. Local time Today, 16:05 Joined Sep 22, 2001 Messages 236 Aug 11, 2002 #3 Oops! I have a 'Label' at the top of my form that I want to blink. I'll see if I can work this code into the label. Thanks Tom
Oops! I have a 'Label' at the top of my form that I want to blink. I'll see if I can work this code into the label. Thanks Tom
naygl Registered User. Local time Tomorrow, 10:05 Joined Jan 7, 2002 Messages 58 Aug 12, 2002 #4 Use: If Label1.Visible = True Then Label1.Visible = False Else Label1.Visible = True End If In the on Timer event.
Use: If Label1.Visible = True Then Label1.Visible = False Else Label1.Visible = True End If In the on Timer event.
wizcow Registered User. Local time Today, 16:05 Joined Sep 22, 2001 Messages 236 Aug 12, 2002 #5 Teriffic, it works great. Thanks everyone! Tom
ChrisO Registered User. Local time Tomorrow, 08:05 Joined Apr 30, 2003 Messages 3,202 Jan 31, 2004 #6 And please take note of Ricky’s blink rate. (700 minimum) The aim is to get their attention, not to cause annoyance, discomfort or fatigue. There is more to this than meets the eye. (Pun intended.) Regards, Chris.
And please take note of Ricky’s blink rate. (700 minimum) The aim is to get their attention, not to cause annoyance, discomfort or fatigue. There is more to this than meets the eye. (Pun intended.) Regards, Chris.
E ewong1 Eric Wong Local time Today, 15:05 Joined Dec 4, 2004 Messages 96 Jan 9, 2006 #7 Is there a way to include this in Access 97?