No worries
The TimerInterval is in the form's Properties window under the All tab. The On_Timer event is just above that. Set the interval to say, 200 and then change the value in On Timer to "Event Procedure". Once you've done that, click on the three dots next to it and that will take you into the code for the form's On_Timer event (which will happen however often that you set the interval earlier).
The code assumes that you have a label named lblMarquee that has some text set as the Caption property.
Code:
lblMarquee.Caption=Mid(lblMarquee.Caption, 2) & Left(lblMarquee.Caption, 1)
What this basically does is everytime the timer happen (fires) it takes the left most character of the current caption and moves it to the end.
It does this by selecting the leftmost character using:
Code:
Left(lblMarquee.Caption, 1)
Which means everything from the left for 1 character.
It then appends this to the rest of the string excluding the original leftmost character using:
Code:
Mid(lblMarquee.Caption, 2)
This means, get everything until the last character starting at the character in position 2.
Hope that helps give you a better insight into this.
Regards
HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin
Get the most out of Tek-Tips, read FAQ222-2244 before posting.