VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Scrolling Text On Form

by Kalpesh Patel (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 29th December 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Scrolling Text On Form

API Declarations



Put One Label on Form and Rename to nScroll
Set Time Interval Of Timer is 10

Rate Scrolling Text On Form



 nScroll.Left = Me.Width - nScroll.Width
End Sub

Private Sub Timer1_Timer()
 nScroll.Left = nScroll.Left - 10
 If nScroll.Left < nScroll.Width * -1 Then
  nScroll.Left = Me.Width
 End If
End Sub


Download this snippet    Add to My Saved Code

Scrolling Text On Form Comments

No comments have been posted about Scrolling Text On Form. Why not be the first to post a comment about Scrolling Text On Form.

Post your comment

Subject:
Message:
0/1000 characters