Scrolling Title in Windows Form

This tip shows how to scroll the title text of windows form using timer control. For this we need one Timer Control. Now set Interval property of Timer Control to 150 / 200 / 1000 etc. as desired (Note: – Interval Time is taken as milliseconds). Following Code snippet can paste into Timer_Tick Event, and enables the Timer at Form_Load Event.
      Private Sub Timer_Tick(…….)
                   Me.Text = Mid(Me.Text, 2, Len(Me.Text)) & Mid(Me.Text, 1, 1)
          End Sub
Listing 1
          Private Sub Form_Load(…….)
                   Timer.Enabled = True
          End Sub
Listing 2
Output:
           
Following snapshots represent intended result of scrolling title text for windows form.

  

Figure 1

Figure 2

Figure 3
Regards,
Mayur Dighe
http://ImmortalDotNet.blogspot.com
http://MayurDighe.wordpress.com