| Blink Label Caption This small code show you how to blinking a text in a Label You can use this For other control like TextBox etc... Public SwitchVal As Boolean '1st) Make a Form with a label ( Label1 ) and a timer ( Timer1 ) '2nd) Put this code into your Form : Private Sub Timer1_Timer() If Text2See(SwitchVal) = True Then Label1.Caption = "Visual Basic is Cool !" Else Label1.Caption = "" End If End Sub Public Function Text2See(Switch As Boolean) As Boolean Select Case Switch Case True Text2See = True SwitchVal = False Case False Text2See = False SwitchVal = True End Select End Function |
Blink Label Caption |
Express News India | Freelance ecommerce web development India