VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This code makes a command button blink. Very Simple.

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.

Rate 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


Download this snippet    Add to My Saved Code

This code makes a command button blink. Very Simple. Comments

No comments have been posted about This code makes a command button blink. Very Simple.. Why not be the first to post a comment about This code makes a command button blink. Very Simple..

Post your comment

Subject:
Message:
0/1000 characters