Dick7Access
Dick S
- Local time
- Today, 18:46
- Joined
- Jun 9, 2009
- Messages
- 4,321
I copied and paste a nice little snippet to make a scrolling marquee, but it 0nly scrolls so far then it starts to delete letters what do I have to do to have it continue for as long as it form is open?
Code:
Option Compare Database
Dim textStr As String
Dim padstr As String
Dim txtScroll As String
Dim txtLength As Integer
Dim iLength As Integer
Dim iPos As Integer
Dim iView As Integer
Dim iRem As Integer
' Read more: How to Add a Scrolling Marquee Text Box to Microsoft Access | eHow http://www.ehow.com/how_10064042_add-scrolling-marquee-text-box-microsoft-access.html#ixzz2TJf3dBnj
Private Sub Form_Load()
txtMarqee.SetFocus
txtMarqee.Text = ""
textStr = " Why does this stop scrolling after so many words and then starts to delete words. I want it to scroll continutally."
padstr = " "
txtScroll = textStr & padstr
txtLength = Len(txtScroll)
iLength = Len(padstr)
Me.TimerInterval = 500
iPos = 1
iView = 1
End Sub
Private Sub Form_Timer()
moveText
End Sub