Advertisement
2002VB String Manipulation #19931

Caption Scroller - IMPROVED!

This Code will Scroll the title of your window(s) like Winamp To the left OR to the right.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
'Code provided by Alpha Media Inc.
'http://www.alphamedia.net
'Makers of Pink Notes Plus!
'http://www.pinknotesplus.com
Private Sub Timer1_Timer()
 Dim String2 As String
 Dim String1 As String
 If Direction = "Left" Then
  String2 = Left$(Caption, 1)
  String1 = Right$(Caption, Len(Caption) - 1)
 ElseIf Direction = "Right" Then
  String1 = Right$(Caption, 1)
  String2 = Left$(Caption, Len(Caption) - 1)
 End If
 
 Caption = String1 & String2
End Sub
Original Comments (3)
Recovered from Wayback Machine