I would like to create a button on a form that would close and exit Open Office.
How would I do that?
Thanks.
Paul
Button to exit Open Office
Button to exit Open Office
OOo 2.3.X on Ms Windows XP
Re: Betton to exit Open Office
menu:File>Exit
Ctrl+Q
The URL to call this command is .uno:Quit but strangely a button/hyperlink pointing to .uno:Quit shows the file-open dialog. So I think that the buttons on your keyboard [Ctrl+Q] are close to your requirement. Macro programming is still another option, but who wants to do that?
P.S.
A toolbar button works. You can store your own toolbars in documents, in this case the embedded Writer document which contains your form.
Ctrl+Q
The URL to call this command is .uno:Quit but strangely a button/hyperlink pointing to .uno:Quit shows the file-open dialog. So I think that the buttons on your keyboard [Ctrl+Q] are close to your requirement. Macro programming is still another option, but who wants to do that?
P.S.
A toolbar button works. You can store your own toolbars in documents, in this case the embedded Writer document which contains your form.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice