RSS Forums RSS

Status Bar Marquee...Need Help!

Please support our VB.NET advertiser: DiscountASP.NET – 3 Months Free on VB.NET Web Hosting
Thread Solved
Reply
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!

  #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.
AddThis Social Bookmark Button
Reply With Quote  
Posts: 2,628
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: 244
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Status Bar Marquee...Need Help!

  #2  
May 26th, 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  
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!

  #3  
May 26th, 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  
Posts: 2,628
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: 244
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Status Bar Marquee...Need Help!

  #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 4:16 am.
Attached Images
File Type: jpg StatusBar-TextScrolling.JPG (12.8 KB, 3 views)
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote  
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!

  #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  
Posts: 2,628
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: 244
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Status Bar Marquee...Need Help!

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the VB.NET Forum
Views: 925 | Replies: 5 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:52 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC