VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This peice of code creates a blinking label in two colors...Very simple to create, no API call.

by James Erwin Tuquib Damit (1 Submission)
Category: Graphics
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 22nd April 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This peice of code creates a blinking label in two colors...Very simple to create, no API call.

Rate This peice of code creates a blinking label in two colors...Very simple to create, no API call.



'                  Rosemoore Village
'                  Salangan, San Miguel, Bulaca
'                  3011 Philippines
' You need to insert a form, 1 label named label1 and a timer(timer1).

Private Sub Form_Load()
label1.BackColor=vbWhite
timer1.intervak=500
End Sub

Private Sub Timer1_timer()
If Label1.BackColor=vbWhite then
Label1.BackColor=vbRed
else
Label1.BackColor=vbWhite
End If
End Sub



Download this snippet    Add to My Saved Code

This peice of code creates a blinking label in two colors...Very simple to create, no API call. Comments

No comments have been posted about This peice of code creates a blinking label in two colors...Very simple to create, no API call.. Why not be the first to post a comment about This peice of code creates a blinking label in two colors...Very simple to create, no API call..

Post your comment

Subject:
Message:
0/1000 characters