Scrolling Text

Hoongz

Active member
Joined
Nov 22, 2007
Messages
32
Programming Experience
1-3
Is there anyway to make a text scroll across the screen? Like using the label or some control to hold the string and let it scroll. If so what codings is needed?
 
There are many ways to do this. For example you can use the marquee html tag and a WebBrowser control:
VB.NET:
Me.WebBrowser1.Navigate("about:blank")
Me.WebBrowser1.Document.Write("<marquee behavior=""scroll"" direction=""left"">some text</marquee>")
To move a Label control you can use a Timer and set the Location.
Search also here for "marquee" for some threads about this, and/or internet search.
 
What I was expecting was to draw a stored line from sql and make it scroll. It can be done with webbrowser right? Another side question. I'm having a full screen WMP running. Is it possible to make the web browser appear above the WMP. So it'll be at the bottom scrolling text while some files are playing in full screen mode
 
What I was expecting was to draw a stored line from sql and make it scroll. It can be done with webbrowser right?
You can use other text than "some text".
Another side question. I'm having a full screen WMP running. Is it possible to make the web browser appear above the WMP. So it'll be at the bottom scrolling text while some files are playing in full screen mode
No, it will exit fullscreen.
 
Yes, check the documentation for the Marquee tag, it has a ScrollDelay attribute.
 
Back
Top