954,170 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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.

Petey211
Newbie Poster
3 posts since May 2008
Reputation Points: 10
Solved Threads: 0
 

means its scroll in status bar or in other place?

Jx_Man
Nearly a Senior Poster
3,328 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444
 
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

Petey211
Newbie Poster
3 posts since May 2008
Reputation Points: 10
Solved Threads: 0
 

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.

Attachments StatusBar-TextScrolling.JPG 12.78KB
Jx_Man
Nearly a Senior Poster
3,328 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444
 

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. =]

Petey211
Newbie Poster
3 posts since May 2008
Reputation Points: 10
Solved Threads: 0
 

You're welcome...
Don't forget to mark this thread solved :)

Jx_Man
Nearly a Senior Poster
3,328 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You