Blink a TextBox in VB?

Hello, how to make a TextBox blink or change its color in Visual Basic?
Thank you in advance

Dorm.

Configuration: Windows XP / Internet Explorer 7.0

3 answers

  1. It can be done in several ways essentially by a code on a time base more or less respected according to the parameters
    1
    1. Contributor
      Use a timer, and the textbox's color property (I don't have the exact name).
      0
      1. bjr voilà la syntaxe d'un label à l'aide d'un timer, veuillez tester slvp:

        Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        If Animation.ForeColor = Color.Black Then
        Animation.ForeColor = Color.Red
        Dim f As New Font("Berlin Sans FB", 50, FontStyle.Bold)
        Animation.Font = f
        Me.BackColor = Color.Aqua
        Label1.Width = Label1.Width + 10
        Else
        Animation.ForeColor = Color.Black
        Dim f As New Font("Berlin Sans FB", 50)
        Animation.Font = f
        Me.BackColor = Color.Beige
        Label1.Width = Label1.Width + 10
        End If
        End Sub
        0