Results 1 to 10 of 10

Thread: Scrolling text??

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2012
    Location
    Edinburgh - Scotland
    Posts
    19

    Question Scrolling text??

    Hi guys I have finished my poker timer project for my poker club and it looks really smart the only problem I am having is.... my scrolling text bar (Label6) across the bottom of my Form.1 displays the text that is in Textbox1 in Form.5! that works well apart from two things!

    1: the blinking carat from Form5.Textbox1 is showing up and scrolling along with my text in Form1.Label6 I want to remove the carat as it looks messy! how do I do this?

    2: Form1.Label6 starts scrolling across the bottom of the form at the speed I want. But then slows down once the last letter has come into view on the right hand side of the form? I have changed some of the settings and got it to be the same all the way across with the timer set at an interval of 50 and the following code:
    scrolling text Code:
    1. Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
    2.         Label6.Left -= 5
    3.         If Label6.Left <= -Label6.Width Then
    4.             Label6.Left = Me.Width
    5.         End If
    6.     End Sub
    This is the correct speed right across the screen but it is very jerky/jittery!

    If any one can help it would be a great help so i can put this project to rest!

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Scrolling text??

    There are several examples of marquee text in the CodeBank, including one by myself. Follow the CodeBank link in my signature and check that thread out.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Apr 2012
    Location
    Edinburgh - Scotland
    Posts
    19

    Re: Scrolling text??

    Sorry I cant seem to find that thread from the link in your signature? could you post a direct link on here please?

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Apr 2012
    Location
    Edinburgh - Scotland
    Posts
    19

    Re: Scrolling text??

    Oh and will this help with the speed issue or the removing carat issue?

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Scrolling text??

    Quote Originally Posted by Patrickkay77 View Post
    Sorry I cant seem to find that thread from the link in your signature? could you post a direct link on here please?
    In order to do that I would have to click the link in my signature and look down the list of threads until I found the correct one. You are just as capable of doing that as I am.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Apr 2012
    Location
    Edinburgh - Scotland
    Posts
    19

    Re: Scrolling text??

    I have only found one that relates to scrolling text and its c# coding? i may have over looked the one i need i shall keep looking!

  7. #7
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Scrolling text??

    If you only found the one written in C# then that would be because you clicked the C# CodeBank link. If you want VB code then it would be advisable to click the VB link. I'm not sure why it's necessary for me to say that but it's said.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  8. #8
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Scrolling text??

    What's more, the C# version even contains links to the VB version. Click a link, read a web page. You don't need any programming experience for that.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Apr 2012
    Location
    Edinburgh - Scotland
    Posts
    19

    Re: Scrolling text??

    I have found it Thanks! i will look over this and let you know how i get on... sorry for the about that its been a long day!

  10. #10
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Scrolling text??

    All's well that ends well.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width