[Lazarus] Codetools OnBeforeCompile/After events

noreply at z505.com noreply at z505.com
Fri May 26 08:40:27 CEST 2017


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..

For some reason I thought it would be part of code tools for writing 
plugins to the ide.
Thanks.


More information about the Lazarus mailing list