Il 24/05/22 09:30, Michael Van Canneyt ha scritto:
So, why the bind is not persistent and I need to bind again before use
a component in OnClick event?
Normally the bind should be persistent. I use the described technique
since several years meanwhile.
Please check if your program code contains an Application.Free after
the Application.Run.
If it does, remove it.
Earlier versions of Lazarus generated this statement erroneously when
using
the 'new web application' wizard.
That’s the problem.
Application.Free removed, now works perfectly!
I'll report this solution in the forum.
thanks
nomorelogic
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus