To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=109535





------- Additional comments from [email protected] Wed Mar 10 07:55:09 +0000 
2010 -------
fs->kretek: The document you attached is not self-contained, it does not contain
any actual tables or data, so the contained form does not work, so the macro is
never triggered.

fs->m90216: I tried to replicate the problem with a button, bound to the
following macro:
Sub hello(oEvent)
  dim oEventSource as object
  oEventSource = oEvent.Source

  MsgBox "event source: " & oEventSource.ImplementationName

  Dim oModel as Object
  oModel = oEventSource.Model
  MsgBox "event source's model: " & oModel.ImplementationName

  MsgBox "parent :" & oModel.getParent().ImplementationName
  MsgBox "parent.parent :" & oModel.getParent().getParent().ImplementationName
  MsgBox "parent.parent.parent :" & _
    oModel.getParent().getParent().getParent().ImplementationName
  MsgBox "parent.parent.parent.parent :" & _
    oModel.getParent().getParent().getParent().getParent().ImplementationName
end Sub

This works perfectly fine in OOo 3.2.


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to