Status Bar Marquee...Need Help!

Please support our VB.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Thread Solved
Reply

Join Date: May 2008
Posts: 3
Reputation: Petey211 is an unknown quantity at this point 
Solved Threads: 0
Petey211 Petey211 is offline Offline
Newbie Poster

Status Bar Marquee...Need Help!

 
0
  #1
May 26th, 2008
I am using a status bar in a program that i am working on for VB.net 2003, i am trying to have some text scroll or marquee across the screen from right to left,

can someone please help me with the code.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,640
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Status Bar Marquee...Need Help!

 
0
  #2
May 27th, 2008
means its scroll in status bar or in other place?
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 3
Reputation: Petey211 is an unknown quantity at this point 
Solved Threads: 0
Petey211 Petey211 is offline Offline
Newbie Poster

Re: Status Bar Marquee...Need Help!

 
0
  #3
May 27th, 2008
Originally Posted by Jx_Man View Post
means its scroll in status bar or in other place?
meaning that the text scrolls in the status bar at the bottom of the form
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,640
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Status Bar Marquee...Need Help!

 
1
  #4
May 27th, 2008
try this following code (needed timer and statusbar with 2 panels), text to scrolling is from StatusBar panel 2 text :
  1. Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  2. Dim text As String
  3. text = StatusBar1.Panels.Item(0).Text
  4. StatusBar1.Panels.Item(0).Text = text.Substring(1) & text.Substring(0, 1)
  5. End Sub
i post the screenshot too.
Last edited by Jx_Man; May 27th, 2008 at 5:16 am.
Attached Images
File Type: jpg StatusBar-TextScrolling.JPG (12.8 KB, 4 views)
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 3
Reputation: Petey211 is an unknown quantity at this point 
Solved Threads: 0
Petey211 Petey211 is offline Offline
Newbie Poster

Re: Status Bar Marquee...Need Help!

 
0
  #5
May 27th, 2008
awesome, i got it working, thank you VERY much your code helped me alot, i tried forever to get it to work.... used ur code got it working in about 10 to 15 minutes. =]
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,640
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Status Bar Marquee...Need Help!

 
0
  #6
May 27th, 2008
You're welcome...
Don't forget to mark this thread solved
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the VB.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC