On Mon, 16 Sep 2019 09:24:40 +0200, Salvatore Coppola via lazarus
<[email protected]> wrote:

>Ok it is a workaround but why not call your function only one time at start 
>for instance in main form create?

Yes, a typical workaround...
I am so used to using OnShow since my form always is only shown once
and never hidden afterwards. But you are right that it should rather
be in OnCreate!


-- 
Bo Berglund
Developer in Sweden

-- 
_______________________________________________
lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to