Yes, it works.
Good to know.
Thank you
On Fri, Aug 21, 2020 at 6:22 PM Juha Manninen wrote:
>
> On Fri, Aug 21, 2020 at 7:14 PM duilio foschi via lazarus
> wrote:
> > In Delphi you write
> > qryMain.AfterOpen:=TB_DPTAfterOpen;
> >
> > but whatever works is ok to me :)
>
> It works also with
On Fri, Aug 21, 2020 at 7:14 PM duilio foschi via lazarus
wrote:
> In Delphi you write
> qryMain.AfterOpen:=TB_DPTAfterOpen;
>
> but whatever works is ok to me :)
It works also with FPC when using {$mode delphi}
Juha
--
___
lazarus mailing list
thanks Colin, it worked.
In Delphi you write
qryMain.AfterOpen:=TB_DPTAfterOpen;
but whatever works is ok to me :)
On Fri, Aug 21, 2020 at 6:00 PM Colin Western via lazarus
wrote:
>
> qryMain.AfterOpen:=@TB_DPTAfterOpen ?
>
> Colin
> --
> ___
>
qryMain.AfterOpen:=@TB_DPTAfterOpen ?
Colin
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
1.
when the compiler reaches this line,,,
qryMain.AfterOpen:=TB_DPTAfterOpen;
it throws the error:
unit1.pas(190,23) Error: Wrong number of parameters specified for call
to "TB_DPTAfterOpen"
2.
TB_DPTAfterOpen is declared as:
TFrame1=class(TFrame)
protected
procedure