How To Make Text Scroll Up Effect In VB.NET



hello guys this is a cool one about scrolling text to up and you know you have seen something like this when using other application for example when you go to the about form on some applications you can see they have the scrolling text to up like the credits of the application and etc goes up so it would be cool to make your own about form like that so i am just up with this and i hope you will benefit from it and i have to tell the video which you see is not a quality one . create a project and name it whatever and when the form loading done just do things you usually do in the properties of the form and etc . now add a label and a timer and you see the label and timer are the controls you need and they are the most important now add the text whatever you(lorem ipsum) want to , inside the label1 text and now go to timer properties and enabled = true and set the interval to 30 and now double click your form and just add these codes



Public Class Form1

    'Author : Mohamed Shimran
    'Blog : http://www.ultimateprogrammingtutorials.blogspot.com

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        If Label1.Top = -Label1.Height Then
            Label1.Top = Label1.Height
        Else
            Label1.Top -= 1
        End If
    End Sub
End Class

now debug and see

Post a Comment

Note: Only a member of this blog may post a comment.