DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   VB.NET (http://www.daniweb.com/forums/forum58.html)
-   -   Status Bar Marquee...Need Help! (http://www.daniweb.com/forums/thread126233.html)

Petey211 May 26th, 2008 7:43 pm
Status Bar Marquee...Need Help!
 
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.

Jx_Man May 27th, 2008 12:17 am
Re: Status Bar Marquee...Need Help!
 
means its scroll in status bar or in other place?

Petey211 May 27th, 2008 12:21 am
Re: Status Bar Marquee...Need Help!
 
Quote:

Originally Posted by Jx_Man (Post 614966)
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

Jx_Man May 27th, 2008 5:09 am
Re: Status Bar Marquee...Need Help!
 
1 Attachment(s)
try this following code (needed timer and statusbar with 2 panels), text to scrolling is from StatusBar panel 2 text :
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  Dim text As String
  text = StatusBar1.Panels.Item(0).Text
  StatusBar1.Panels.Item(0).Text = text.Substring(1) & text.Substring(0, 1)
End Sub
i post the screenshot too.

Petey211 May 27th, 2008 2:02 pm
Re: Status Bar Marquee...Need Help!
 
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. =]

Jx_Man May 27th, 2008 7:04 pm
Re: Status Bar Marquee...Need Help!
 
You're welcome...
Don't forget to mark this thread solved :)


All times are GMT -4. The time now is 12:30 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC