Code: Select all
ThisComponent.CurrentController.Frame.LayoutManager.hideElement("private:resource/menubar/menubar")
Is there a way to open the menus... eg the file menu... by a macro and so access the menubar even when it is hidden?
(I know I can make the menu visible again with showElement. And there's a alternative approach of moving the top part of the window up a little so the menubar is hidden offscreen... not as neat though.)