VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This snip it allows you to create your own scrolling marquee using a label control, a timer, a modu

by Gary A. Jackson (1 Submission)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Wed 8th September 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This snip it allows you to create your own scrolling marquee using a label control, a timer, a module level or global string, a static integer

API Declarations


Static iStart As Integer 'timer declarations
Dim iLength As Integer 'timer declarations


Rate This snip it allows you to create your own scrolling marquee using a label control, a timer, a modu



sMarquee = "Whaleman -n- Jaxon SoftWare"

'place this code in a timer control.
iLength = Len(sMarquee)
If iStart = 0 Then iStart = 1
lblMarquee.Caption = Mid$(sMarquee, iStart, iLength) & "   " & Left$(sMarquee, iStart)
iStart = iStart + 1
If iStart >= iLength Then iStart = 0


Download this snippet    Add to My Saved Code

This snip it allows you to create your own scrolling marquee using a label control, a timer, a modu Comments

No comments have been posted about This snip it allows you to create your own scrolling marquee using a label control, a timer, a modu. Why not be the first to post a comment about This snip it allows you to create your own scrolling marquee using a label control, a timer, a modu.

Post your comment

Subject:
Message:
0/1000 characters