Hi There,
Unfortunately another vb beginner for you guys here. I am building a windows application and I was wondering if it it possible to display text in a scrolling fashion i.e. with a label scrolling text through it. Like in some news websites where the main headlines would be scrolling along Hope this isn't a silly question ![]()
Thanks very much
Colin

Scrolling Text
Ian_Ian
dEkS
x = Label1.Location.X
End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick If x >= -100 Thenx = x - 10
Label1.Location =
New Point(x, Label1.Location.Y) ElseLabel1.Location =
New Point(228, Label1.Location.Y)x = 228
End If End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.ClickLabel1.Text = TextBox1.Text
End SubSet the Label location in my example i set to 228. you give any message in textbox then click button, the message will be scroll.this one work when your timer property is true
send me a reply
Hit
http://www.devarticles.com/c/a/VB.Net/Building-a-News-Ticker-Using-VB.Net/
is one article I found online.
Basically, you can create a control derived from the label control, and add code to make it do whatever you like. I'm suggesting adding a timer to control scrollng, and code to change the text within the timer event.
korsakow
Thanks very much for the help.
Colin
MicroMoth
Hi Christian
Thanks very much for the reply...ony thing being I'm not entirely sure what you just said.
Could you possibly give me an example please.
Thanks again