VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Blink Label Caption This small code show you how to blinking a text in a Label You can use this For

by Nix (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Mon 17th May 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)

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...

API Declarations


Public SwitchVal As Boolean

Rate Blink Label Caption This small code show you how to blinking a text in a Label You can use this For



'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

Download this snippet    Add to My Saved Code

Blink Label Caption This small code show you how to blinking a text in a Label You can use this For Comments

No comments have been posted about Blink Label Caption This small code show you how to blinking a text in a Label You can use this For. Why not be the first to post a comment about Blink Label Caption This small code show you how to blinking a text in a Label You can use this For.

Post your comment

Subject:
Message:
0/1000 characters