To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=109535
                 Issue #|109535
                 Summary|forms: 
               Component|gsl
                 Version|OOo 3.2
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|pl
             Reported by|kretek





------- Additional comments from [email protected] Tue Feb 23 11:41:24 
+0000 2010 -------
The ListBox subcomponent in grid control has broken automation in v3.2. It
doesn't response to getParent() function correctly.

The following code, triggered by ListBox column subcomponent in a grid control,
works fine to the version 3.1.1 and stops working in 3.2:

Sub blah(oEvent)
        dim oForm as object
        dim oMasterForm as object
        oForm = oEvent.Source
        oMasterForm = oForm.getParent().getParent().GetParent().GetParent()
        'some following code
end Sub

Since 3.2, every try of using getParent() on ListBox subcontrol ends up with
"illegal object given" message. I also used XRay on oEvent.Source and it also
gave the same error when I tried to inspect getParent() method of the object.

Since the code breaks in 3.2, I reverted to 3.1.1 and it resumed to work.

---------------------------------------------------------------------
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