Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 2.37 KB

File metadata and controls

55 lines (41 loc) · 2.37 KB

Contributing

  1. Fork the project
  2. Create feature branch: git checkout -b my-new-feature
  3. Make changes and test
  4. Commit: git commit -am 'add: feature description'
  5. Push: git push origin my-new-feature
  6. Open pull request

Build

Prerequisites

Download/clone these dependencies to folders next to DripGrepper:

Install via Delphi's GetIt Package Manager:

  • VirtualTree for VCL
  • SVGIconImageList VCL and FMX

Optional: TestInsight

Install GUI Components

If opening the project in the IDE shows an error such as Class TIconLabel not found, Delphi usually cannot resolve the design component class while loading a .dfm file.

ComponentNotFoundMsg
  • In that dialog, press Cancel.
  • Make sure the missing component unit is included in the DRipGrepperComponents project. For newly added components this is required before the package can be installed.
  • ⚠️ For a newly added component class, add a Register procedure in the component unit, for example:
interface
...
procedure Register;

implementation

procedure Register;
begin
	RegisterComponents(SECTION_NAME, [TIconLabel]);
end;
...
  • If DRipGrepperComponents is already installed, remove it first in the IDE via Components -> Install Packages....
  • Now install the DRipGrepperComponents package in the IDE. Right click on project, in the context menu choose Install...
  • After installation, Delphi shows a message box with the list of component classes that were installed.
InstalledSuccesfull
  • Close and reopen the IDE, then reopen the project. The missing-class error should be gone.

Troubleshooting