Open form in full screen

Discuss the database features
Post Reply
robce1964
Posts: 47
Joined: Mon Jan 21, 2013 6:33 pm

Open form in full screen

Post by robce1964 »

Hi,
I want to open my forms in full screen without menu bars, tool, I only see the form and the blue bar at the top where there is the x to close the window.
I found this macro but on a form of trial work, while on my no. The macro must be associated with the event "loading" of the form.

Code: Select all

Sub FullSreen(Event As Object)
   Dim oFrame As Object
   Dim oDispatchHelper
   oFrame=Event.Source.Parent.Parent.CurrentController.Frame
   oDispatchHelper=CreateUnoService("com.sun.star.frame.DispatchHelper")
   oDispatchHelper.ExecuteDispatch(oFrame,".uno:FullScreen","",0,Array())
End Sub
Can you give me some advice or other ways to do what I want?
thanks
LibreOffice 3.6.4 Windows 8 64 bit
RPG
Volunteer
Posts: 2261
Joined: Tue Apr 14, 2009 7:15 pm
Location: Netherlands

Re: Open form in full screen

Post by RPG »

Hello

I think install the Basetools extension of Benitez.
Then look in the macro code. In the BaseTools are more useful macros.

An other method is record some macros for switching on or off some toolbars and adjust the macros in the way you need.

Romke
LibreOffice 24.8.5.2 on openSUSE Leap 15.6
Post Reply