65.9K
CodeProject is changing. Read more.
Home

Scroll Text Vertically

starIconstarIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIcon

2.50/5 (9 votes)

Nov 3, 2005

1 min read

viewsIcon

59879

downloadIcon

3538

This Control, will scroll text vertically like the About Box in Winamp

Sample Image - face.jpg

Introduction

        Hi to all, this is my first control, and it was created after an unsuccessful search for an ActiveX control capable of scrolling text vertically. This control will mimic (it’s not perfect, but u get the idea) the about box in winamp, it lacks of all the events handling but it works!  For instance display some credits if you like!.

        Use this code freely, if you like it, please try to improve it to get the most out of this control and be sure to send me an email with the new version, thanks.

Ok this is the usage

1) Assign some text using TextScroll1.Text = "Bla bla "  (1 line or multilane), lines are spitted by VbCrLf 
                             or  TextScroll1.SetText = "Bla 1st Line Bla" &  VbCrLf &  "bla 2d Line bla"
2) Enjoy it.

To work!

          This control can easily be transformed to mimic the StarWars introduction (I think we all remember this) the idea will be to modify Sub FixFontSize To have the bottom labels with a bigger font and size, and as the lines goes up the size and font decrease accordingly, this will create a cheap illusion to have all the text in perspective.