[Lazarus] Pas2Js and component binding

2022-05-24 Thread Marcello via lazarus
hi all I've some problems in binding html elements. This is the thread I open in forum, attached you can found the my source project. https://forum.lazarus.freepascal.org/index.php/topic,59432.0.html The strange is: inside doRun I call BindElements and s

Re: [Lazarus] Pas2Js and component binding

2022-05-24 Thread Michael Van Canneyt via lazarus
On Tue, 24 May 2022, Marcello via lazarus wrote: hi all I've some problems in binding html elements. This is the thread I open in forum, attached you can found the my source project. https://forum.lazarus.freepascal.org/index.php/topic,59432.0.html The strange is: inside doRun I call Bind

Re: [Lazarus] Pas2Js and component binding

2022-05-24 Thread Marcello via lazarus
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 con