RichButton 1.0 ReadMe.txt
Copyright (c) 1997 Mentor Computer Solutions
http://www.MentorComputer.com

The latest version of RichButton can always be found at
http://www.MentorComputer.com/RichButton

Last Modified February 13, 1997.

**** About RichButton ****

RichButton is a button component which supports rich text for
Delphi 2.x

RichButton is freeware, and may be redistributed as long as all
the files in this package are included and unmodified, including:
RichButton.pas
RichButton.dcr
ReadMe.txt

There is no charge for using RichButton, although we would appreciate
an e-mail to comments@MentorComputer.com if you find RichButton
useful.

**** Contacting Mentor Computer Solutions ****

Mentor Computer Solutions produces other software for educators,
restaurant managers, and software developers. Visit our WWW site for
information on our other products.

Mentor Computer Solutions
RR 2 Box 246
Chelsea, OK 74016 USA
(918) 789-2734
http://www.MentorComputer.com

**** Installing RichButton ****

Install RichButton as you normally would any Delphi component:

First, make sure the above files are in the same directory. Then,

1. Select Component|Install from the pull-down menu.
2. Click the Add... button.
3. Click the Browse button, then find and select RichButton.pas.
4. Click Open.
5. Click OK. The component library will be rebuilt.

RichButton is now located on the Additional component tab.

**** Using RichButton ****

Button Aspects:
Use RichButton as you would a normal button -- click the component
icon, then place the button on the form. You may write a routine for
the OnClick event for when the button is pressed.

Rich Text Aspects:
Entering text on RichButton occurs exactly as you would with a RichEdit
component. Enter text by accessing the Lines property. Change the font
of the entire component by accessing the Color, Font, or DefAttributes
property. To set the attributes of the selected text, or the text you
are going to add to the lines property, access the SelAttributes
property. To change attributes of the current paragraph, such as
text alignment, access the Paragraph property.

Other properties:

AllowDown: If the button is allowed to be set in a permanent down
state. If so, and State is set to stDown, the button will go up
when pressed, and down when released.

Focus: Whether the button will show a colored outline when the mouse
is over the control.

FocusColor: The color of the focus outline.

FocusWidth: The width of the focus outline.

State: stUp, stDown, or stDisabled.
