?
Solved

produce ticker tape in vb.net 2005

Posted on 2007-11-25
4
Medium Priority
?
915 Views
Last Modified: 2013-11-26
Hi,

I am trying to find out how to produce a ticker tape using a label please. so it scrolls from right to left and disapears off the left hand side and then starts again on the right.

Many Thanks
Lee
0
Comment
Question by:ljhodgett
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20345081
you can create by yourself.
Create a timer object in your form, implement the Tick event with this content:

Private Shared Sub Timer1_Tick(myObject As Object,  myEventArgs As EventArgs)
        yourLabel.Text = yourLabel.Text.Substring(1) & yourLabel.Text.Substring(0,1)
End Sub
0
 

Author Comment

by:ljhodgett
ID: 20345380
Hi,

Thank you for you help. The only issue I have is that I want the whole text to disapear off the label control before it scrolls again.

Many Thanks
Lee
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20345604
OK, there are many tricks, the simplest is to add many white spaces at the end of the text:

yourLabel.text = "SOME TEXT TO ROTATE                                        "

But resize your control to show just "SOME TEXT TO ROTATE"
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 20345804
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question