VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Simple text effect

by Chris Martian (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

very Simple but interesting text effect for the form caption

Inputs
needs a timer called timer1

Rate Simple text effect

Dim x As Integer
Private Sub Form_Load()
x = 0
End Sub
Private Sub Timer1_Timer()
Me.Caption = Mid$("Created by Chris Martian", 1, x)
'find how much of the caption should be displayed
x = x + 1
'add 1 to number of letters to be displayed next time
If x > Len("Created by chris martian") Then x = 0
'if it gets to the end then start again
End Sub

Download this snippet    Add to My Saved Code

Simple text effect Comments

No comments have been posted about Simple text effect. Why not be the first to post a comment about Simple text effect.

Post your comment

Subject:
Message:
0/1000 characters