Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / May 2005

Tip: Looking for answers? Try searching our database.

Create Flashing / Blinking Label

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KitCaz - 09 May 2005 02:26 GMT
How can I create a flashing / blinking label?  I thought there might be a
simple property somewhere / somehow to do this, but I can't find anything.

Is my only recourse to set a form timer event and change the color with a
very short window?  Seems like a lot to go through for such a simple effect.
Rick Brandt - 09 May 2005 03:43 GMT
> How can I create a flashing / blinking label?  I thought there might
> be a simple property somewhere / somehow to do this, but I can't find
[quoted text clipped - 3 lines]
> with a very short window?  Seems like a lot to go through for such a
> simple effect.

Yep.

Be aware that having anything flash or blink can be a real problem for some
users.  The usual recomendation is to limit the flash to a set number of times
(duration of several seconds) and then terminate it.

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

LTofsrud - 09 May 2005 14:51 GMT
I agree with Rick in regards to ixnay the flashing label for long periods of
time.  While not everyone suffers from epilepsy, it can be irritating on the
eyes after extended periods of time.

An alternative suggestion would be to create an icon based solution similar
to the .NET error provider.  It is just as effective since it marks the
appropriate field and you can get rid of the whole timer issue altogether.

Lance

> How can I create a flashing / blinking label?  I thought there might be a
> simple property somewhere / somehow to do this, but I can't find anything.
>
> Is my only recourse to set a form timer event and change the color with a
> very short window?  Seems like a lot to go through for such a simple effect.
LTofsrud - 09 May 2005 14:54 GMT
I agree with Rick in regards to ixnay the flashing label for long periods of
time.  While not everyone suffers from epilepsy, it can be irritating on the
eyes after extended periods of time.

An alternative suggestion would be to create an icon based solution similar
to the .NET error provider.  It is just as effective since it marks the
appropriate field and you can get rid of the whole timer issue altogether.

Lance

> How can I create a flashing / blinking label?  I thought there might be a
> simple property somewhere / somehow to do this, but I can't find anything.
>
> Is my only recourse to set a form timer event and change the color with a
> very short window?  Seems like a lot to go through for such a simple effect.
Arvin Meyer - 09 May 2005 16:07 GMT
> How can I create a flashing / blinking label?  I thought there might be a
> simple property somewhere / somehow to do this, but I can't find anything.
>
> Is my only recourse to set a form timer event and change the color with a
> very short window?  Seems like a lot to go through for such a simple effect.

Rick has mentioned the problems with flashing labels. I suggest that you do
not use complementary colors (like red/green) and do not do anything faster
than 1/2 second. The following code starts in 1 second and flashes a label 5
times for a 1/2 second duration flash off and a 2 and 1/2 second duration
on. Set the TimerInterval property to 1000.

Private Sub Form_Timer()
Dim i As Integer

For i = 1 To 5
   If Me.lblWarning.Visible = True Then
       Me.lblWarning.Visible = False
       Me.TimerInterval = 500
   Else
       Me.lblWarning.Visible = True
       Me.TimerInterval = 2500
   End If
Next i

End Sub

Signature

Arvin Meyer, MCP, MVP
Microsoft Access
Free Access Downloads
http://www.datastrat.com
http://www.mvps.org/access

User - 09 May 2005 17:56 GMT
> How can I create a flashing / blinking label?  I thought there might be a
> simple property somewhere / somehow to do this, but I can't find anything.
>
> Is my only recourse to set a form timer event and change the color with a
> very short window?  Seems like a lot to go through for such a simple effect.

Flashing labels are for pornography products.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.