<p style="padding:0 0 0 0; margin:0 0 0 0;">Did you try simply to add "const"?</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">V.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">______________________________________________________________<br />
> Od: "Bo Berglund via Lazarus" <lazarus@lists.lazarus-ide.org><br />
> Komu: lazarus@lists.lazarus.freepascal.org<br />
> Datum: 13.10.2018 20:43<br />
> Předmět: [Lazarus] Can't assign event procedure....<br />
></p>
<br />
What am I doing wrong here?<br />
<br />
I have written similar types of programs where I have used this kind<br />
of construction and it has worked fine (in Delphi).<br />
<br />
Both the form file and the unit where the handler class is defined<br />
have been set to:<br />
<br />
{$mode Delphi}<br />
<br />
<br />
<br />
-- <br />
Bo Berglund<br />
Developer in Sweden<br />
<br />
-- <br />
_______________________________________________<br />
Lazarus mailing list<br />
Lazarus@lists.lazarus-ide.org<br />
<a href="https://lists.lazarus-ide.org/listinfo/lazarus">https://lists.lazarus-ide.org/listinfo/lazarus</a><br />