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

Oliver Brinzing <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|6.1.3.2 release             |Inherited From OOo
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |NOTABUG
                 CC|                            |[email protected]

--- Comment #1 from Oliver Brinzing <[email protected]> ---
if you connect a form control with a basic method, 
you will receive an ActionEvent as parameter.

to make it work, change your macro, e.g.:

Sub macroBAD(oEvt)
 oModel = oEvt.Source.Model
 oDoc = oModel.getParent.getParent.getParent
 msgbox oModel.Name
 msgbox oDoc.drawpage.getforms().getbyname("Form").getByName("buttonBAD").name
End Sub

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

Reply via email to