  Component to save and load Grid field information to and and from the Registry.
  This is usefull if the user sizes the columns and rearrages them.  This
  allows a program to return their private setting.

  Author: Frank Bombay
  Company: TRANSDATA, PObox 5120, 5203 DC 'S-HERTOGENBOSCH, NEDERLAND.
  Copyright 1997, TRANSDATA.  All rights reserved.

 1)  Users of TDBGridRG must accept this disclaimer of warranty:
     "TDBGridRG is supplied as is.  The author disclaims all
     warranties, expressed or implied, including, without limitation,
     the warranties of merchantability and of fitness for any purpose.
     The author assumes no liability for damages, direct or conse-
     quential, which may result from the use of TDBGridRG."

  2) This unit is donated to the public as public domain.

  3) This unit can be freely used and distributed in
     commercial and private environments provided this notice
     is not modified in any way.

  4) If you do find this unit handy and you feel guilty
     for using such a great product without paying someone,
     please feel free to send a few bucks ($25) to support further
     development.


     Please forward any comments or suggestions to Frank Bombay at:
     email: bombay@transdata.nl


Files
  readme.txt     Your reading it!
  DBGridRG.PAS   Unit for saving and loading Grid field infomation.
  
Usage

  The TDBGridRG component is inherited from TDBGrid. The following property and
  methods are added.


  Property RegistryKeyName
    This is the Keyname of the Registry where the information is saved and
    loaded. Default setting is grid. The actual key will be placed under
    HKEY_CURRENT_USER\software\[RegistryKeyName]. The proper usage of 
    RegistryKeyName is 'Companyname\Applicationname\Gridname'.

    Example: DBGridRG1.RegistryKeyName:='TRANSDATA\Transcom\CustumerGrid';
 

  Method SaveReg
    Save the Grid Column Name and Width to the Registry. 
    Common Use in the Form OnDestroy event.

    Example: DBGridRG1.SaveReg;


  Method LoadReg
    Load the Grid Column Name and Width from the Registry.
    Common Use the in Form OnCreate event.

    Example: DBGridRG1.LoadReg;
  