TDBgrTool v. 2.1 for Delphi 3.0 (Shareware)
Copyright (C) 1996,1998 by Bogdan Horvat.

TDBgrTool is an excellent non-visible component. It offers you 6 very useful functions for 
work with TDBGrid :

- search data in grid.
- filter data in grid.
- setup view of grid (special dialog)
- saving view of grid in ini file or registry
- preview (or print) grid with QuickReport
- replace dialog for replacing data in grid

1.  Search data in grid
User can search data in grid by all fields in grid. You can setup hotkey for user.

2.  Filter data in grid
With this function end user can filter data in grid. End user has a special dialog 
for that. User can set filter options too.

3. Setup view of grid
With this function end user can change view of grid. User has a special dialog for that.

4.  Saving view of grid in ini file or registry
With this function program will save information about view of grid in ini file or
registry.

5. Preview
With this function user can view or print report (well this is very simple report)

6. Replacing data in grid
With this function user have search&replace function

6. How to install
Click Component-InstallComponent and write unit file name grtool.dcu or grtool.pas if you have a source file

7. Added property:
DBGrid              : TCustomDBGrid

FilHotKey           : HotKey for filter data in grid
FilterOriginal      : if your application already use some filter 

IniFileName         : name of ini file(default application name)
IniSaveGrid         : if true program will save information in ini file
IniSectionName      : name of section in ini file(default Form.Name+Table.Name)

ReportHotKey	  : HotKey for preview grid with QuickReport
ReportTitle         : Title of report
ReportFont	        : Font on report

ReplaceHotKey       : HotKey for replace data

RuntimeMessages     : you can set all messages and captions, if your language is not English

SrchHotKey          : HotKey for search data in grid
SrchOnKeyPress      : if True, program will search after user press any key
                      if False, program will search after user press Enter (usefull in C/S application)

ViewHotKey          : HotKey for set view of grid

UseRegistry         : saving data in registry instead ini file
RegKey		  : where to save in registry

8. Added Events
OnSetFilter         : Write an OnSetFilter event handler to take specific action immediately after an application 
                      sets filter to dataset
OnEndSearch         : Write an OnEndSearch event handler to take specific action immediately after an application 
                      locate first record
OnSetView           : Write an OnSetView event handler to take specific action immediately after an application 
                      sets columns in grid
OnSaveDataSet       : Write an OnSaveDataSet event handler to take specific action immediately after an application 
                      save columns position and size to ini file
OnRestoreDataSet    : Write an OnRestoreDataSet event handler to take specific action immediately after an 
                      application restore columns position and size from ini file


9. Public functions:
procedure ExecFilter     : filter data in grid
procedure ExecSearch     : search data in grid
procedure ExecView       : set view of grid
procedure ExecPreview	 : call QuickReport.Preview
procedure ExecReplace    : search&replace data in grid
procedure SaveDataSet    : save information in ini file
procedure RestoreDataSet : restore information from ini file
procedure ClearFilter    : sets filter to ''

10. Register
TDBgrTool is distributed as shareware and can be evaluated freely. If you want to use TDBgrTool for your 
applications you must register. Registering TDBgrTool will buy you the right to use TDBgrTool in all of your 
programs royalty-free. Registration includes full source code for TDBgrTool. You will receive a source code
by e-mail.

11. Prices:
Single license (for use by one developer):  $15 US
Site license (for use by all developers in your company):  $75 US

Payment can be made by bank transfer or cash. When using bank transfer ask your bank which fees they take for 
the money transfer and add this amount to your money transfer. The additional 5 US$ for bank transfer are 
covering our bank fees, but not the fee for your bank!!

If you have any questions please write Email to bogdan.horvat@siol.net


