Marketplace products
Scrolling Text Control
- Cost
- Free
- Version
- 1
- Overview
- Screen Shots
- Readme
Readme
VB WEB Scroller ActiveX Control Readme
Installation
To install the control, copy it to your Windows System directory, and then enter
the following into the Run window:
regsvr32.exe vbwScroller.ocx
Methods
LoadTextFromFile - Loads the contents of a file into the control.
Reset - Resets the scrolling (starts again)
StartScroll - Starts scrolling
StopScroll - Stops scrolling
Properties
Amount - Sets the amount the scroller moves each time the specified interval
occurs
Alignment - Sets the alignment of the text
AutoStart - Sets if the control automattically starts scrolling when it is displayed
BackColor - Sets the background colour
Border - Sets the border style
Font - Sets the font used
ForeColor - Sets the colour of the font
Interval - Sets the interval between each scroll movement
ScrollType - Sets the scroll type. Can be vbwScrollDown, vbwScrollUp, vbwScrollLeft,
vbwScrollRight.
Scrolling - Sets if the control is scrolling
StopAfterOneScroll - Sets whether to stop after one loop has been completed
Text - Sets the text to be displayed
Events
OnCompleteScroll - Occurs when a complete loop has been run
OnStart - Occurs when the control starts scrolling
OnStop - Occurs when the control stops scrolling
Examples
There is an example project included with the control, along with the controls
source code.
I did extensive testing. If a line of text is too long, the whole thing gets out of whack. Make your lines shorter. I was successful in scrolling 240 lines of 10 characters each. I stopped there, could have kept going.
There are certain limitations for the TextBox control:
The text displayed by the control is contained in the Text property. By default, you can enter up to 2048 characters in a text box. If you set the MultiLine property to true, you can enter up to 32 KB of text. The Text property can be set at design time with the Properties window, at run time in code, or by user input at run time. The current contents of a text box can be retrieved at run time by reading the Text property.
If you need to have more text displayed then perhaps you should try using the RichTextBox Control.
Good Luck
SonnyBoy:
The text displayed by the control is contained in the Text property. By default, you can enter up to 2048 characters in a text box. If you set the MultiLine property to true, you can enter up to 32 KB of text. The Text property can be set at design time with the Properties window, at run time in code, or by user input at run time. The current contents of a text box can be retrieved at run time by reading the Text property.
This control is just what I need for an app..
but it stops displaying text after a certain number of characters.
Can someone help me overcome this problem?
rbender@rosina.com
Would like to know what the limitation on text that can be entered?
How many characters? How many lines?
Can this be overcome? If so How to do it?
Thanks, very good text scrolling control but does not scroll when I am processing some other query in the background. I may not be doing it properly. Please guide me if you have any solution.
Thanks again
Best Regards
Raj
hello,
I was just wondering if the backcolor could be set to transparent
i.e. I would like to have the words scroll over a jpg image.
thanks,
Excellent...Keep up good work....
This thread is for discussions of Scrolling Text Control.