On Fri, Aug 21, 2020 at 7:14 PM duilio foschi via lazarus <lazarus at lists.lazarus-ide.org> 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