                 =================================
                 Color Button with 'Toggle' option
                 =================================
                 
TColorButton Control allows you to change color of the face, shadow and 
highlighted part of the button. Additionaly it can work as 'toggle' switch
i.e. it can stay 'pressed down' after click and pops up after next click.
Usage is almost identical to the normal TButton. 

Installation
============

Unzip archive file into some directory, eg C:\DELPHI\CUSTCOMP and from 
OpionInstall Component option in Delphi choose Add and type 'TColButt'.
Press OK and add your directory path to the path list (if it wasn't there
anyway). Press OK and wait to finish. TColorButton component should appear
on Standard Page.

Properties
==========

Apart from standard properties (like TButton) TColorButton has some new. They
are listed below.

Color       - color of the face of button
LightColor  - color of the highlighted part of button
ShadowColor - color of the darker part of button
Style       - Normal or Toggle. If it is Normal TColorButton reacts for click
              as normal button. If it is set to Toggle - after each click
              TColorButton changes to 'pressed' or 'not pressed', same way as
              some buttons on your stereo.
Value       - True or False. Defines if TColorButton is 'pressed' or not. That
              property is modified by every mouse click.
LightOn     - True or False. If it is True then when button is 'down' small
              green rectangle appears in the upper right corner, like in some
              power buttons in HiFi equipment
LightOff    - True or False. If it is True then when button is 'down' small
              red rectangle appears in the upper right corner, like in some
              power buttons in HiFi equipment

Copyright Notice
================
This work is copyrighted and should not be used in any commercial programs
without acceptance of the Author. However it can be freely used in any
non-commercial software, i.e. for pleasure or fun or in freeware programs.

If you find this component usefull for you and you think it has saved you
some time (I have no doubt that you could write it yourself, but how long
would it take - 10 minutes, 1 hour or several hours ?), please send a note
to the address below (I prefere E-mail, but you can send a letter).

If you will earn some money because you are using this component (whatever
way - selling program, impressing your boss), I believe it is simple fair
if you send some money to me. As I have no idea how much it is worth to you,
please send me equivalence of 10 mins payment made to you. If you are (for
example) cleaner and you get $3 per hour, then send me $0.50. If you are
High class expert and you get $120 per hour please send me 20 bucks.
I really hope that this component will be used by specialists ! :-))

If you need source for it - just drop a line. I will not charge for it!
I just want to tempt you to write to me :-).

                           Disclaimer
                           ==========
The Author cannot and does not warrant that any functions contained in the
Software will meet your requirements, or that its operations will be error
free.  The entire risk as to the Software performance or quality, or both,
is solely with the user and not the Author.  You assume responsibility for
the selection of the component to achieve your intended results, and for
the installation, use, and results obtained from the Software.

The Author makes no warranty, either implied or expressed, including with-
out limitation any warranty with respect to this Software documented here,
its quality, performance, or fitness for a particular purpose. In no event
shall the Author be liable to you for damages, whether direct or indirect,
incidental, special, or consequential arising out the use of or any defect
in the Software,  even if the Author has been advised of the possibility
of such damages, or for any claim by any other party.

All other warranties of any kind, either express or implied, including but
not limited to the implied warranties of merchantability and fitness for a
particular purpose, are expressly excluded.


Please Email us if you have any problems or find any bugs in our component
- I will do my best to ensure this component works for you!


Regards, Zbyszek Swirski <CIS: 100322,176  Int: zbych@dircon.co.uk>

ControTex Ltd
59 Sidmouth Ave
Isleworth
TW7 4DR
United Kingdom
