Newsbar?

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
 
M

Mark

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/
 
J

Jeff Conrad

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Field TAB color 2
Start mdb from mdb 2
Extract housenumber from address 7
Menubar 2
Message box with number of records? 2
Order/invoicenumber? 2
Greeting bases on current time on switchboard 11
Hide/unhide button 5

Top