jnrhacker.blogg.se

Libreoffice base examples
Libreoffice base examples







libreoffice base examples

Now use Tools - Customize - Events tab to assign the openDefaultForm() procedure as the database's "Open Document" event handler, and the beforeClose() procedure as the "Document is going to be closed" event handler for the form. Upgrading the docker-ce package on Ubuntu 18.04 is what brought me here in the first place so I thought it would be interesting to have a full concrete example. MsgBox "Something happened to the " & MAIN_FORM_NAME & " form!"+ chr(10)+"You deleted? Or renamed?", 48, "Form not found"Īnd don't forget to make this window visible before shutting down: Sub beforeClose(oEvent As Variant) For example, like this: Sub openDefaultForm( ) Only call this procedure when opening the form. ThisDataBaseDocument.getCurrentController().getFrame().getContainerWindow().setVisible(bVisible) Changing the visibility of any window is simple: Sub setVisibleMainWindow(bVisible As Boolean) 9K subscribers Subscribe Share Save 120K views 8 years ago LibreOffice Base We learn how to run the forms we created straight fromWe would use the snippet.









Libreoffice base examples