Text Animation (Help)

panjul

Member
Joined
Jun 7, 2007
Messages
21
Programming Experience
Beginner
Somebody can help me ???Urgent....
I want to develop text animation using VB.net.
That text is flying over the left side screen to right side screen and no background at the back side..
THX...
 
If it is a marquee you want I use the folllowing code:
VB.NET:
Public Class Form1
    Dim iPos As Double = 0

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Timer1.Interval = 5
        Timer1.Enabled = True

        iPos -= Label1.Size.Width
    End Sub

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Label1.Left = iPos

        If iPos <= Me.Size.Width Then
            iPos += 1
        Else
            iPos = (0 - Label1.Size.Width)
        End If
    End Sub
End Class
 
HOw ?

How the Text moving on the screen not on the form windows, so the text moving from the left screen of your monitor to the right screen of your monitor
 
that is a very good question, I know you're going to want to look into GDI+ programming for this, but I don't know how to display the text on the screen without a form
 
Back
Top