Hi Bruno,
I put a panel on the main form and would like to create a sub-form that has a FNCChecklistbox onto the panel. The first time when I clicked the button creating the sub-form, it works.
Code inside the button click event used to create form:
if assigned(Form2) then Freeandnil(Form2);
Application.CreateForm(TForm2,WebPanel1.ElementID,Form2,nil);
However, if I click second time to create the sub-form again, there is an error saying :
ERROR Uncaught TypeError: Cannot read property 'src' of undefined
On the other hand, if I remove FNCchecklistbox from sub-form, there is no problem.
Here is the main form :
And sub-form :
Error as I can see :
Here is testing project :55. Checklistbox test.zip (2.3 MB)
Thanks for your help!
Regards,