Sub Button1_Click
If Label1.Enabled Then
Label1.Enabled = False
Label1.Color = Colors.Gray
Else
Label1.Enabled = True
Label1.Color = Colors.White
End If
End Sub
obviously you can use Colors.ARGB() to change the Alpha level if needed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.