Re: Access violation on shutdown
Posted: Tue Aug 13, 2019 8:06 am
Hi,
FrmBrowser.pas is missing and I can't compile this demo.
I took a quick look and I didn't see this demo was using the TForm.OnCloseQuery event to close the child browsers before closing the main form.
All applications with child browsers must wait until all of them are properly closed before allowing the main form to be closed.
Use the ToolBoxBrowser demo as a reference and copy the code to close the child forms.
FrmBrowser.pas is missing and I can't compile this demo.
I took a quick look and I didn't see this demo was using the TForm.OnCloseQuery event to close the child browsers before closing the main form.
All applications with child browsers must wait until all of them are properly closed before allowing the main form to be closed.
Use the ToolBoxBrowser demo as a reference and copy the code to close the child forms.