How to scroll the form caption
Posted on January 4, 2009
1 2 3 4 5 6 7 8 9 10 11 12 | 'Forms - How to scroll the form caption Option Explicit Private Sub Form_Load() Form1.WindowState = 2 Form1.Caption = Space(170) & "Welcome to my VB Program" End Sub Private Sub Timer1_Timer() Form1.Caption = Right(Form1.Caption, Len(Form1.Caption) - 1) If Form1.Caption = "" Then Form1.Caption = Space(170) & "Welcome to my VB Program" End Sub |