Marquee

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • siddharth23c
    New Member
    • Feb 2007
    • 2

    Marquee

    How to do marqueeing some text in VB?
    Please help.
    Last edited by Killer42; Dec 29 '07, 01:45 PM.
  • Ali Rizwan
    Banned
    Contributor
    • Aug 2007
    • 931

    #2
    Originally posted by siddharth23c
    how to to marqueeing some text in vb?
    plz help
    Use this code for slide some text in a label..

    Code:
    Private Sub Timer1_Timer()
        lblName.Caption = Mid(strActualValue, InStr(1, strActualValue, Trim(lblName.Caption)) + 1, 5)
    End Sub
    Or
    Code:
    Dim strActualValue As String
    Private Sub Form_Load()
        strActualValue = "123456789012345678901234567890"
    End Sub
     
    Private Sub Timer1_Timer()
        lblName.Caption = Mid(strActualValue, InStr(1, strActualValue, Trim(lblName.Caption)) + 1, 5)
    End Sub
    Regards

    >> ALI <<

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      So, siddharth23c, did Ali's suggestion help? If not, please try to describe your problem in more detail.

      Comment

      Working...