mohamedmatter
Registered User.
- Local time
- Today, 11:51
- Joined
- Oct 25, 2015
- Messages
- 122
yesColin,
I *think* the o/p wants to scroll the text from right to left.?
I'm sure you did exactly that with one of your forms a good while back? Is it called a Marquee effect?
Is this possible in the Form's caption (shown on the Title bar)?Colin,
I *think* the o/p wants to scroll the text from right to left.?
I'm sure you did exactly that with one of your forms a good while back? Is it called a Marquee effect?
Is this possible in the Form's caption (shown on the Title bar)?
Option Compare Database
Option Explicit
Public iPos As Integer
Private Sub Form_Load()
iPos = 1
End Sub
Private Sub Form_Timer()
Dim strText As String
strText = " This is a test"
Me.Caption = Mid(strText, iPos, Len(strText) - iPos)
iPos = iPos + 1
End Sub
So, if a Timer is involved, wouldn't that cause quite a bit of flicker? Just curious...
Right. I can't imagine working with a form that tries to interrupt what I'm doing every half a second. This requirement may or may not be fulfilled using VBA, but I think it's better served using some API instead. Personally, I would just avoid it. Just my 2 cents...
Hi Linq. Thanks for the pointer. As I had suspected, it's better to use API for something like this. Good luck!Stephen Labans, as is frequently the case for matters complicated, has a hack for doing this that requires little in the way of resources, he says...and you can always take him at his word:
http://www.lebans.com/hscroller.htm
Linq ;0)>
Stephen Labans, as is frequently the case for matters complicated, has a hack for doing this that requires little in the way of resources, he says...and you can always take him at his word:
http://www.lebans.com/hscroller.htm
Hi Linq. Thanks for the pointer. As I had suspected, it's better to use API for something like this. Good luck!