VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This code makes form title to appear char by char from left to right. Great for application start

by BlueDemon (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 11th June 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This code makes form title to "appear" char by char from left to right. Great for application startup. Few lines of code. Ideal for beginners.

Rate This code makes form title to appear char by char from left to right. Great for application start




Dim Cont As Integer
Const Title = "Put your text here!"

Private Sub ScrollTitle_Timer()

   Cont = Cont + 1
   Me.Caption = Me.Caption & Mid(Title, Cont, 1)
   If Cont = Len(Title) Then ScrollTitle.Enabled = False
         
End Sub

Private Sub Form_Load()
   
   ScrollTitle.Interval = 20 'Scrolling Interval
   ScrollTitle.Enabled = True
   
End Sub

Download this snippet    Add to My Saved Code

This code makes form title to appear char by char from left to right. Great for application start Comments

No comments have been posted about This code makes form title to appear char by char from left to right. Great for application start. Why not be the first to post a comment about This code makes form title to appear char by char from left to right. Great for application start.

Post your comment

Subject:
Message:
0/1000 characters