943,083 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Marked Solved
  • Views: 2223
  • VB.NET RSS
May 26th, 2008
0

Status Bar Marquee...Need Help!

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Petey211 is offline Offline
3 posts
since May 2008
May 27th, 2008
0

Re: Status Bar Marquee...Need Help!

means its scroll in status bar or in other place?
Reputation Points: 1181
Solved Threads: 389
Posting Sensei
Jx_Man is offline Offline
3,133 posts
since Nov 2007
May 27th, 2008
0

Re: Status Bar Marquee...Need Help!

Click to Expand / Collapse  Quote originally posted by Jx_Man ...
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Petey211 is offline Offline
3 posts
since May 2008
May 27th, 2008
1

Re: Status Bar Marquee...Need Help!

try this following code (needed timer and statusbar with 2 panels), text to scrolling is from StatusBar panel 2 text :
vb.net Syntax (Toggle Plain 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.
Attached Thumbnails
Click image for larger version

Name:	StatusBar-TextScrolling.JPG
Views:	80
Size:	12.8 KB
ID:	6178  
Last edited by Jx_Man; May 27th, 2008 at 5:16 am.
Reputation Points: 1181
Solved Threads: 389
Posting Sensei
Jx_Man is offline Offline
3,133 posts
since Nov 2007
May 27th, 2008
0

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. =]
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Petey211 is offline Offline
3 posts
since May 2008
May 27th, 2008
0

Re: Status Bar Marquee...Need Help!

You're welcome...
Don't forget to mark this thread solved
Reputation Points: 1181
Solved Threads: 389
Posting Sensei
Jx_Man is offline Offline
3,133 posts
since Nov 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Trying to consume Coldfusion Web Service using VB.NET
Next Thread in VB.NET Forum Timeline: [B] Need help editing sequential file[B]





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC