![]() |
|
[VB.Net] Square-Marquee - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Visual Basic & .NET Framework (https://sinister.li/Forum-Visual-Basic-NET-Framework) +--- Thread: [VB.Net] Square-Marquee (/Thread-VB-Net-Square-Marquee) |
[VB.Net] Square-Marquee - Coder-san - 05-10-2011 [altimg=http://i.imgur.com/ztRjE.gif]Square Marquee By Coder-san[/altimg] 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 SubRE: [VB.Net] Square-Marquee - 1llusion - 05-10-2011 Wow looks great! Thanks! RE: [VB.Net] Square-Marquee - 1234hotmaster - 05-10-2011 Cool function! i'll definitely use this in PHP keylogger 5
RE: [VB.Net] Square-Marquee - H3ROiN - 05-10-2011 Nice .This Would Be Great For Credits (: |