[Lazarus] Codetools OnBeforeCompile/After events
Mattias Gaertner
nc-gaertnma at netcologne.de
Fri May 26 11:12:48 CEST 2017
On Fri, 26 May 2017 01:40:27 -0500
Lars via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
> On 2017-05-26 01:24, Ondrej Pokorny via Lazarus wrote:
> > On 26.05.2017 8:21, Lars via Lazarus wrote:
> >> Does something like OnBeforeCompile/OnAfterCompile exist in codetools?
> >
> > Yes, they exists. "OnAfterCompile":
> >
> > LazarusIDE.AddHandlerOnProjectBuildingFinished(@MyEvent);
> > LazarusIDE.AddHandlerOnLazarusBuildingFinished(@MyEvent);
> >
> > Ondrej
> > --
>
> Ahh, maybe I am looking at codetools when I should be looking at
> lazideintf.pp instead.
> As that's where those are located..
This may help:
http://wiki.freepascal.org/Extending_the_IDE
> For some reason I thought it would be part of code tools for writing
> plugins to the ide.
Codetools is standalone package and the IDE uses it a lot.
Mattias
More information about the Lazarus
mailing list