VB.NET WITH TIMER AND LABEL
Wed Jun 28, 2023 8:27 pm
HI GUYS, HAVE A GOOD DAY,NOW I WILL SHARE A SIMPLE PROGRAM THAT YOU CAN USE FOR YOUR OWN PROJECT
- Code:
Private text As String = "WELCOME TO HTTPS://ALEXIA-IM.FORUMOTION.ASIA "
Shared index As Integer = 0
Private Sub timer1_Tick(ByVal sender As Object, ByVal e As EventArgs)
timer1.Interval = 200
label20.Text = text.Substring(0, index)
index += 1
If index = text.Length + 1 Then
index = 0
End If
End Sub
Permissions in this forum:
You cannot reply to topics in this forum
|
|