TDigMarquee and TDigLabel

This VCL gives you a multi-color scrolling marquee with
digital letters and flashing effects as well as a static
digital label with multiple colors.

*TDIGMARQUEE*

PROPERTIES

Caption:      This is the text that will scroll across the control.
              A subset of the alphabet is supported, including all
              capital letters, numbers, and keyboard punctuation
              except ` and ~.

              Formatting commands are embedded into the caption
              to alter text colors and to toggle flashing text.
              All commands are preceeded by a ~ character and are
              terminated with a space.  Multiple commands may be
              stacked after a single ~.  Available commands are:
              ~1 : (green text)
              ~2 : (red text)
              ~3 : (yellow text)
              ~4 : (cyan text)
              ~5 : (white text)
              ~f : (toggle flashing text)

              Examples:
              just plain green text
              ~2 red text~1 , green text
              ~5f white flashing text~4f , cyan non-flashing text


Enabled:      This turns the timer on/off.  If it is disabled, no
              text is visible

FlashTicks:   This is the number of timer ticks between flashes of
              flashing text.  This is NOT milliseconds.  If the
              interval is set for 50, and FlashTicks is set for 5
              then the letters will flash approx every every 250
              milliseconds (5*50).  If set to 0 then no flashing
              occurs.  This only affects text flagged with ~f .

Interval:     This is the interval between timer ticks.  The 
              smoothness of the scrolling text is a combination
              of the Interval and the Speed setting.

Loops:        This is the number of times the text will scroll
              across the control before it stops.  After it 
              reaches this number, the OnFinishScrolling event
              will be fired to allow you to reset the caption or
              Loops, or other variables.  This way, you can 
              update the information like a stock ticker or
              a clock, or offer random tips, hints, or quotes.  A
              negative number will scroll indefinately

Speed:        This is the number of pixels to the left the text 
              will move each timer tick.  The smoothness of the 
              scrolling text is a combination of the Interval and 
              the Speed setting.


EVENTS

OnFinishScrolling:

              This event is fired after the text has scrolled by
              the number of times specified by Loops.  If Loops
              is negative, this event will never be called.

              Example:

procedure TForm1.DigMarquee1FinishScrolling(Sender: TObject);
begin
   DigMarquee1.caption:='The time is: ~5f '+ timetostr(time);
   DigMarquee1.loops:=1;
end;

*TDIGLABEL*

PROPERTIES

Caption:      This is the text that will scroll across the control.
              A subset of the alphabet is supported, including all
              capital letters, numbers, and keyboard punctuation
              except ` and ~.

              Formatting commands are embedded into the caption
              to alter text colors and to toggle flashing text.
              All commands are preceeded by a ~ character and are
              terminated with a space.  Multiple commands may be
              stacked after a single ~.  Available commands are:
              ~1 : (green text)
              ~2 : (red text)
              ~3 : (yellow text)
              ~4 : (cyan text)
              ~5 : (white text)

              Examples:
              just plain green text
              ~2 red text~1 , green text


Installing TDigMarquee and TDigLabel

To install this VCL, copy DMARQUEE.DCU, DMARQUEE.DCR and DMLETTER.RES
to the directory where you have your other shareware controls.  Then, 
from Delphi's main menu, select Options|Install Components.  In the
dialog, click on the Add... button, then Browse... and change to the 
drive/directory where you stored the above two files.  Select 
DMARQUEE.DCU and click OK, then OK again.

Using TDigMarquee

To use this control, simply place it on your form, and edit the 
Caption, Interval, Speed, and Loops properties.

Using TDigLabel

Use this control in place of a label control when you would like a 
digital readout.


Support:

Send comments and questions to:

Zane Rathwick
Indigo Software

CIS: 74633,1314
AOL: ZaneR
Internet:   ZaneR@aol.com
U.S. Mail:  Zane Rathwick
            Indigo Software
            4240 Park Newport Suite 308
            Newport Beach, CA 92660

Registering TDigMarquee

To register TDigMarquee and receive source code, send $10 (+$2 S&H) to:

Indigo Software
4240 Park Newport #308
Newport Beach, CA 92660

You can save the $2 shipping fee by specifying an internet 
account to have your control sent to instead of by mail.

Compuserve members may order on-line for $10.00 and have the code
delivered to your e-mail box by using GO SWREG and ordering 
product #10956