Ask Your Question

Standalone switchboard in LibreOffice Base with out toolbar display possible? [closed]

asked 2017-05-31 05:03:08 +0100

cleo27 gravatar image

updated 2020-09-02 10:28:24 +0100

Alex Kemp gravatar image

How do you create a standalone switchboard in LibreOffice Base where you don't see the tool bars when you open up the switch board, that is you only see the switch board when you open it?

I was watching the following video on YouTube from the TheFrugalComputerGuy that shows how you would create a switchboard with LO (but his version has the tool bars when you open the switch board):

and in the comments he mentions that it is possible with the use of macros, but I am not sure how to implement it. Does anyone know how I would go about this?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-10-05 15:53:25.230908

1 Answer

Sort by » oldest newest most voted

answered 2017-05-31 07:20:18 +0100

Ratslinger gravatar image

updated 2017-05-31 20:05:37 +0100

Just tested this on a standalone document. The macro will remove all toolbars and return the menu to be visible. Activation of the macro depends upon how your entire setup is designed. However, for the single form I used, I attached the macro to the Open Document event of the document. Then when the document is opened, the macro runs and the toolbars are removed. Here is the macro:

Sub RemoveToolbars
    Dim oMenuBar as Object
    If thisComponent.CurrentController.isFormDesignMode Then Exit Sub
    thisComponent.CurrentController.Frame.LayoutManager.visible = false
End Sub

It is very short. If you know little or nothing about macros, I'd advise looking at the LO documentation - click here especially chapter 9.

Tested sample:image description

If this answers your question please click on the ✔ (upper left area of answer).

edit flag offensive delete link more


Thanks for replying, I will try this and come back if I have any questions

cleo27 gravatar imagecleo27 ( 2017-05-31 21:40:46 +0100 )edit

Question Tools

1 follower


Asked: 2017-05-31 05:03:08 +0100

Seen: 1,015 times

Last updated: May 31 '17