I am using the method in ChartInBase.odb from Apache OpenOffice Community Forum - Charts in Base Forms - (View topic) to embed a Chart in a Base form. It works fine except my usual methods of closing the form do not work. I have tried
- Click x button in top right corner of form
- DeleteChart() from ChartInBase.odb with ThisDatabaseDocument.FormDocuments.getbyname(“frmPWGraph”).close
- Button running Action “Open document/web page” with URN “.uno:CloseDoc”
These work if I have not yet inserted the chart into the form but not after that.
There must be something else I need to do before the form will close.
The only way I have to close this form at the moment is to close the .odb database.
LibreOffice 7.6.4.1 Windows 11