Ask Your Question

Minimize fullscreen mode with URL.. in Button control

asked 2016-12-20 08:31:08 +0200

koolninja gravatar image

i am loading odt from in fullscreen mode now i want to minimize it using button .

for close form i am using in control URL section with .uno:CloseDoc as input can i use control URL section for minimizing form or any other way without exiting fullscreen mode to minimize...

thanking in advance for any comment..

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-12-20 20:20:54 +0200

Ratslinger gravatar image

updated 2016-12-21 03:17:52 +0200

There are no uno commands for such. This will work:

Sub Snippet
  Dim oContainerWindow As Variant
  oContainerWindow = thisComponent.CurrentController.Frame.ContainerWindow
  oContainerWindow.IsMinimized = True
End Sub
edit flag offensive delete link more


@koolninja Sorry for the multiple posts. When I found the solution, I was in haste and made a simple error & then realized it could be cut down further.

Ratslinger gravatar imageRatslinger ( 2016-12-21 03:24:06 +0200 )edit

Thanks for this..

koolninja gravatar imagekoolninja ( 2016-12-22 03:22:16 +0200 )edit

My pleasure. Glad it's what you're looking for.

Ratslinger gravatar imageRatslinger ( 2016-12-22 04:40:00 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-12-20 08:31:08 +0200

Seen: 95 times

Last updated: Dec 21 '16