*************************************************************************
*									*
*	CRunner - Running label and bitmap.				*
*	Copyright  1997-98 Leif Lundberg all rights reserved.		*
*-----------------------------------------------------------------------*
*	Version 2.0.1.40						*
*									*
*	Last updated: December 21 1998					*
*************************************************************************

You can reach me by E-Mail: Byteman@Bigfoot.com


Files in crunner.zip
Readme.txt	-This file
D1.zip		-DCU, DCR, acr.dfm and acr.pas for Delphi 1
D2.zip		-DCU, DCR, acr.dfm and acr.pas for Delphi 2
D3.zip		-DCU, DCR, acr.dfm and acr.pas for Delphi 3


*Context*

1. Description
2. Runtime properties
3. Methods
4. Events
5. Known problems


1. Description

The designtime properties are self explained.

Here's a short description of the runtime properties, methods and events.


-Runtime properties-
Maxsteps
CurrentStep

-----------------
Maxsteps:integer

Returns the maximum steps for the bitmap/label.
The value depends on the size of the components canvas, the bitmap/label size and the running direction.
Example:
If the direction are horizontal maxsteps is the width of the canvas plus the width of the bitmap/label. 

----------------
Currentstep:integer;

Returns the current step, useful in the OnStep event



2. Methods

Start(SStep,EStep)
Stop
Restart
Reset(clear)


---------------
procedure Start(SStep,EStep:integer);

This method starts the running.
Set SStep to the starting possition and EStep to the stop possition.
EStep=0 is the same as EStep=Maxsteps.
If EStep<SStep the bitmap/label will show at the SStep possition and stop directly.

----------------
function Stop:integer;

This will stop the running and retuns the current step.

----------------
function Restart:

Restarts the running after a call to stop.

----------------
procedure Reset(clear:boolean)

When called the timer used for the running is freed and if clear is true the canvas is also cleared.
The timer is normaly removed when the bitmap/label reaches the EStep,
but if you stop the running with the stop method the timer are not removed.
After a call to Reset you can't call the Restart method.


3. Events

OnBegin
OnStep
OnEnd

----------------
procedure OnBegin(Sender:TObject)

The OnBegin event is called when the running starts.(calling start method)

----------------
procedure OnStep(Sender:TObject)

The OnStep event is called for eatch step.

----------------
procedure OnEnd(Sender:TObject)

The OnEnd event is called when the bitmap/label reatches the EStep.


4. Known problems

There is no known bugs in this release, but if you find any contact me.
If you have the +Plus package installed in Win 95 or NT or if you use Win 98 then 
you can have a unwanted effect to the label.
The side effect is shown if you have the option 'smoothing edges of screen fonts' set 
under the Plus tab (win95/NT) or the effects tab (Win98) under properties for the display.
This options should be unchecked.
I hope this description is right my OS is not in english so I don't know if I got the translation right.























