How to install TEgDBGridEx and use it at design
time.
TEgDBGridEx is distributed as precompiled binaries only
- design-time and runtime packages (.bpl) plus their
compiled units (.dcu). Running the installer is the only
setup step: it copies these files, registers the design-time package in
the Component Palette, and adds the runtime files to the IDE’s library
search path, for both Delphi 12 and 13 automatically (whichever are
installed). Nothing needs to be compiled or manually added to the
library path.
The three units involved are:
| Unit | Role |
|---|---|
EgDBGridEx |
Main component unit - TEgDBGridEx and its supporting
types |
EgDrawToolsEx |
Drawing routines used internally by TEgDBGridEx (no
published API) |
EgXLSXExport |
.xlsx writer used internally by ExportToXLSX
(no published API) |
To use it from code only, add EgDBGridEx to your own
unit’s uses clause to reference TEgDBGridEx
and its types and the TEgDBGrid...Event types). The other
units never need to appear in your own uses clause.
Just drop a TEgDBGridEx onto a form directly from the
component palette (EasyGate page), exactly like a
standard TDBGrid. All published properties, methods, and
events are available in the Object Inspector.
The installed design-time package is:
| Delphi | Package |
|---|---|
| 13 | EgDBGridExD370.bpl |
| 12 | EgDBGridExD290.bpl |