ShowModa()l form problem and laggy curl component.
Posted: Thursday 8th December 2022 12:06pm
HI to everyone. I am new to Gambas and I would like to ask a question. When I call for ex. frmSomeform.ShowModal(frmParent) from after pressing a button, the modal window shows up but I am getting an error in the browser from JavaScript complaining about "Uncaught RangeError: Maximum call stack size exceeded" and the program stops (spinning circles shows up forever). When I do the exact same thing, but instead of clicking the button calling the modal window from after clicking the menu, the window shows up as expected. Is there something I missing or is it a bug ?
ps
I included the zip with the app I have the problem I describe.
And here is the second one. Is it normal when you use the gb.net.curl component, the forms inside the browser are loaded very slowly. When I check the network tab in browser's web tools the xml calls are excuteed almost every one second one after another. When I compile the program and run it in apache2 environment through cgi there is no lag. Is this a normal behavior. I am asking this because if it is normal it is very difficult to debug the program. Thanks in advance!ps
I included the zip with the app I have the problem I describe.