[VB.Net] Square-Marquee 05-10-2011, 06:31 AM
#1
[altimg=http://i.imgur.com/ztRjE.gif]Square Marquee By Coder-san[/altimg]
Here is a funny Marquee for your Credits Dialog, etc.
Here is a funny Marquee for your Credits Dialog, etc.
Code:
Dim MarqueeX, MarqueeY As Integer
Private Sub timMarquee_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles timMarquee.Tick
If lblCredits.Location.Y < Me.Height - (lblCredits.Height + 40) AndAlso lblCredits.Location.X = 0 Then
MarqueeY += 1
Else
If lblCredits.Location.X < Me.Width - (lblCredits.Width + 14) AndAlso lblCredits.Location.Y > 0 Then
MarqueeX += 1
Else
If lblCredits.Location.Y > 0 Then
MarqueeY -= 1
Else
If lblCredits.Location.X > 0 Then
MarqueeX -= 1
End If
End If
End If
End If
lblCredits.Location = New Point(MarqueeX, MarqueeY)
End Sub![[Image: rytwG00.png]](http://i.imgur.com/rytwG00.png)
Redcat Revolution!





![[+]](https://sinister.li/images/modern/collapse_collapsed.png)
![[Image: tumblr_lawowkq1WB1qd0ix2o1_500.png]](http://28.media.tumblr.com/tumblr_lawowkq1WB1qd0ix2o1_500.png)