VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A1 Code Simple Scroll Text

by Sachin Mehra (Delhi) (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (29 Votes)

This code is the simplest form of Scrolling Text. It uses a Timer controle to make a label scroll. No consideration is required for screen cordinates or size or any other thing. Have a look at this simple scroll text application and Please do rate it :) I am watching from [email protected]

Rate A1 Code Simple Scroll Text

Form1 (starts)
 ======================
Private Sub Form_Load()
Label1.Caption = "Hi all, I am Sachin "
Timer1.Enabled = True
Timer1.Interval = 300
End Sub
Private Sub Timer1_Timer()
Dim str As String
str = Form1.Label1.Caption
str = Mid$(str, 2, Len(str)) + Left(str, 1)
Form1.Label1.Caption = str
End Sub
=================================
Form1 (Ends)

Download this snippet    Add to My Saved Code

A1 Code Simple Scroll Text Comments

No comments have been posted about A1 Code Simple Scroll Text. Why not be the first to post a comment about A1 Code Simple Scroll Text.

Post your comment

Subject:
Message:
0/1000 characters