GREG LIEF'S ASSORTED DELPHI COMPONENTS (a/k/a "G.L.A.D.")
Version 2.0 (for Delphi 4)

Thank you for evaluating G.L.A.D.!

This file contains important instructions for installing the G.L.A.D.
components, including details for integrating the G.L.A.D. help file 
into the Delphi on-line help system. Everything should be smooth sailing, 
both in terms of installation and usage.  

All of the G.L.A.D. components in this evaluation package are 100% fully 
functional.  My copyright notice will be displayed whenever you drop a 
G.L.A.D. component upon a form at design-time.  Copyright notices will be 
displayed at run-time the first time that a G.L.A.D. component is instantiated, 
and again after each tenth G.L.A.D. instantiation.

Remember that for the measly sum of $99 US (just $1.50 per component),
you receive all of the following benefits:

1) All of the Delphi source code!

2) No more copyright notices!

3) Unlimited free minor updates!

4) Complimentary access to my private Delphi Knowledge Base, a web-based
   searchable collection of my favorite Delphi tips, techniques, and examples.

5) Last but not least, my heartfelt gratitude.

You may register by completing the order form found in this package 
(ORDER.TXT), which contains further instructions.  You may also register 
on-line via the following secure URL:

   https://stronghold.teleport.com/~greglief/delphi/delphis.shtml
   
In closing, I want to mention that I am using the "GL" prefix for all
of the G.L.A.D. components.  This is to preclude against naming conflicts
with other third party products.  If you are interested, you can find a 
list of other registered prefixes at the Delphi Prefix Registry 
(http://developers.href.com/registry/dpr.htm).

Thank you again for evaluating the G.L.A.D. components.  I am confident
that you will like what you see!

Greg Lief
Web:  www.greglief.com
Mail: glad@greglief.com

-----------------------------------------------------------------------------

IMPORTANT INSTALLATION NOTE #1: Some people have reported that, aftering 
installing G.L.A.D., when they try to run an application containing one 
or more of the G.L.A.D. components, they get a compiler error ("###.DCU 
file not found").  The solution is to first make sure that the directory 
containing the G.L.A.D. source code or .DCU files is in your search path.  
Go to the TOOLS ("OPTIONS" in Delphi 1) menu and select ENVIRONMENT OPTIONS. 
Click on the LIBRARY tab, then add that directory to the end of your Library 
Path. If you are still having problems, then it means that your Library Path 
is too long. Although Delphi isn't kind enough to inform you, it will truncate 
your library path (I believe the limit is 256 characters).  If this is the 
case, and it can be if you have installed a lot of third party components, 
then you should consolidate your .DCU files into fewer directories and 
trim the library path accordingly.

-----------------------------------------------------------------------------

IMPORTANT INSTALLATION NOTE #2: If you are using Delphi 4 and have not 
yet installed Update Patch #3, you will probably encounter the following
error when attempting to install the G.L.A.D. package collection (GLAD.DPC):

   "The procedure entry point blah-blah-blah was not found"

Although you would never know it from looking at this highly cryptic error, 
the problem stems from the fact that the G.L.A.D. packages were compiled under 
Delphi 4 Update Patch #3. Apparently the differences in Update Patch #3 are 
significant enough to render its DCUs incompatible with earlier versions of 
Delphi 4. The fix is simple: Install Update Patch #3!  If you have not already
downloaded this patch, you can find it at the following URL:

   http://www.borland.com/devsupport/delphi/downloads/index.html

-----------------------------------------------------------------------------

=====================
DELPHI 4 INSTALLATION
=====================

Upgrade Instructions
--------------------

If you already have installed an earlier version of G.L.A.D.,
I strongly recommend that you de-install that before proceeding.  You 
may de-install the components with these two steps:

1) Open Delphi and choose the Component | Install Packages menu option.

2) Look in the list for the G.L.A.D. package.  Select it, then click 
   upon the Remove button to uninstall it.

3) Click on the OK button to save your changes.


Component Installation
----------------------

I have provided a pre-built Delphi 4 package for your convenience.
To install this package, follow these steps:

1) Open Delphi, then choose the Component | Install Packages menu
   option.

2) Click on the Add button. Select the file GLAD_REG.BPL and 
   click on the OK button.

3) After the GLAD package has been installed, you will find four new
   tabs on the component palette:

   * GLAD: Database  (all database-related components except grids)
   * GLAD: DBGrids   (all data-aware grid derivatives)
   * GLAD: Interface (all other visual components)
   * GLAD: Misc.     (all other non-visual components)

Before compiling the G.L.A.D. components into an application, you
should add the G.L.A.D. unit directory (i.e., where the GLAD-related
.DCU files are stored) to your search path.  You can do this by 
following these steps:

1) Within the Delphi 4 IDE, select the TOOLS | Environment Options menu 
   option.

2) Click on the "Library" tab. 

3) At the top of that page you will see an edit control labelled 
   "Library Path".  Append the G.L.A.D. directory (e.g., C:\GLAD\D4).

4) Click on the OK button to save your changes.


Help Integration
----------------

1) Copy the G.L.A.D. help and content files (GLAD.HLP and GLAD.CNT) to
   the same directory that contains the rest of the Delphi help files
   (this should be \PROGRAM FILES\BORLAND\DELPHI 4\HELP).

2) Exit Delphi 4 if you are running it.  

3) If the file DELPHI4.GID exists, delete it.  This will be in the 
   same directory as the rest of the Delphi 4 help files.

3) Locate the file DELPHI4.OHI, which should be in the same directory
   with the help files.  Open this file in a text editor and add the 
   following line:

      :INDEX Greg Lief's Assorted Delphi components=glad.hlp

4) Locate the file DELPHI4.OHL, which should be in the same directory.
   Open this file in a text editor and add the following line:

      :LINK glad.hlp

5) Locate the file DELPHI4.OHC, which should be in the same directory.
   Open this file in a text editor and add the following line:

      :INCLUDE glad.cnt

6) Fire up Delphi 4.  Select the Help|Contents menu option. You should
   see "Greg Lief's Assorted Delphi components" at the bottom of the 
   first screen. If not, please verify that you have followed all of 
   the steps listed above.


*** end of file README.TXT
