Newsbar?

  • Thread starter Thread starter Harmannus
  • Start date Start date
H

Harmannus

Hallo,

Is it possible to hava a newsbar on a form where the text walks over the
screen? Meaning 1 line of text where i can display message(s) that slowly
walk from right to left over the screen. e.g. the CNN newsbar. The text in a
table that can be changed as needed.

Thanx for any tips!

Regards,

Harmannus
 
Hi,

One way to do this is by using the Forms Timer event.

i.e. Set the Forms Timer Interval property to say 200 miliseconds. Then
enter the following code into the Timer Event:

Private Sub Form_Timer()
If Me.txtMovingText.Left > 100 Then
Me.txtMovingText.Left = Me.txtMovingText.Left - 100
Else
Me.txtMovingText.Left = Me.Width - Me.txtMovingText.Width
End If
End Sub

Note change txtMovingText to the name of your text box control.

HTH

--

Cheers
Mark

Free Access/Office Add-Ins at:
http://mphillipson.users.btopenworld.com/
 
Hi,

In addition to the other suggestions I believe Sensei Stephen Lebans has
something that does that on his website found here:

http://www.lebans.com/hscroller.htm

I haven't used it before, but it sounds like what you need.

Good luck,
Jeff Conrad
Bend, Oregon
 
Back
Top