Button to exit Open Office

Creating and using forms
Post Reply
paulb
Posts: 6
Joined: Fri Dec 05, 2008 6:06 pm

Button to exit Open Office

Post by paulb »

I would like to create a button on a form that would close and exit Open Office.

How would I do that?

Thanks.

Paul
OOo 2.3.X on Ms Windows XP
User avatar
Villeroy
Volunteer
Posts: 31345
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Betton to exit Open Office

Post by Villeroy »

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.
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
Post Reply