I am trying to make text within a textbox flash and scroll from one side to the other and to re-appear on the other side.
Either one of these will do, both would be fantastic.
This is what i have so far, but it only flashes once, and it doesnt scroll, so i have a feeling im off the track.
I just need to do this for 3 seconds. After this the textbox should be cleared.
Can anyone help me?
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Static seconds As Integer
seconds = 0
seconds = seconds + 1000
If seconds <> 3000 Then
TextBox1.Visible = False
TextBox1.Visible = True
ElseIf seconds = 3000 Then
Timer1.Stop()
TextBox1.Visible = True
TextBox1.Text = ""
End If
End Sub
Private Sub Button12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button12.Click
If TextBox1.Text = "7265" Then
TextBox1.PasswordChar = ""
TextBox1.Text = "Pin Number Accepted"
Else
TextBox1.PasswordChar = ""
TextBox1.Text = "Incorrect Pin"
Timer1.Enabled = True
End If
End Sub
