by E. Stephens (3 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 15th December 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
This code makes a command button blink. Very Simple.
'Add a command button and a timer
'Name the timer "tmrBlinker"
'Use the command button's default name
'Add the code in the timer event and form load event
'Enjoy!
Private Sub Form_Load()
tmrBlinker.Interval = 900 'Change number to whatever suits you
End Sub
Private Sub tmrBlinker_Timer()
If Command1.Visible = True Then
Command1.Visible = False
Else
Command1.Visible = True
End If
End Sub