https://bugs.documentfoundation.org/show_bug.cgi?id=128571

            Bug ID: 128571
           Summary: Draw LayerManager context doesn't work through "basic"
                    editor
           Product: LibreOffice
           Version: 6.2.8.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: pa...@free.fr

Created attachment 155488
  --> https://bugs.documentfoundation.org/attachment.cgi?id=155488&action=edit
Example in draw document

Context:
2 layers named "Cercles" and "carrés" in draw page.
In "Cercles" layer, différents shape.
The button "Circle with Circle macro" in main page hide or show the draw in
"cecles" shapes.

This macro is link with the button "Circle with Circle macro":
=========================================
sub Circle
dim LibOGestCouches as object
LibOGestCouches  = thiscomponent.LayerManager
        if LibOGestCouches.hasByName("Cercles") then
                LibOGestCouches.getByName("Cercles").IsVisible =_
                not(LibOGestCouches.getByName("Cercles").IsVisible)
        else
                msgbox "No Layer found "
        end if
End sub
============================================
If we execute the macro in "basic" window,
LibOGestCouches.getByName("Cercles").IsVisible = True
doesn't change to 
LibOGestCouches.getByName("Cercles").IsVisible = False
and vice versa

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to