Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Thanks Andreas.

It works although not perfectly as it leaves an empty grey panel there where the yellow was. But it is a lot less annoying. :)

Keith

On 05/05/15 19:22, Andreas Säger wrote:
Sub hidePanelWindows(e)
>Dim CompWin, acRole, cHeight, wins, i, w, ac
>wait(1000)
>CompWin = e.Source.CurrentController.Frame.ComponentWindow
>acRole = com.sun.star.accessibility.AccessibleRole.PANEL
>cHeight = com.sun.star.awt.PosSize.HEIGHT
>wins() = CompWin.getWindows()
>for i = 1 to uBound(wins())
>    w = wins(i)
>    ac = w.AccessibleContext
>    if ac.AccessibleRole = acRole then
>            w.setPosSize(0,0,0,0,cHeight)
>    endif
>next
>End Sub


--
God bless you
Keith Bates
4 Mooloobar St
Narrabri NSW
Ph 02 67924890

Jesus is the Way
the Truth and the Life


--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.