http://openoffice.org/bugzilla/show_bug.cgi?id=117760

        Issue Type: DEFECT
           Summary: Inconsistent operation: Property or method not found:
                    Xray, later it works.
    Classification: Application
           Product: Word processor
           Version: OOo 3.3 RC10
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: code
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


Working with Basic in Writer. The onRowChange method is linked to the 
"Text modified" event of a column in a Table Control which is in SubForm2 which
is a sub form of the MainForm which is a child of "forms".

Got this error message:
"BASIC runtime error.
 Property or method not found: Xray"

Code:

Sub onRowChange( oEvent as Object )
'    MRILib.Mri( oEvent.Source.Model.Parent )
    XrayTool.Xray( oEvent.Source.Model.Parent )

Code:

"BASIC runtime error.
 Property or method not found: Mri"

Then I change to code as follows:

Code:

Sub onRowChange( oEvent as Object )
'    MRILib.Mri( oEvent.Source.Model.Parent )
    XrayTool.Xray( oEvent.Source.Model.Parent )

Then I saved the file and OOo crashed, totally disapeared, no error message,
just gone. Went through the recovery process.

Code:

Then I changed the code as follows:

Sub onRowChange( oEvent as Object )
    MRILib.Mri( oEvent.Source.Model.Parent )
    XrayTool.Xray( oEvent.Source.Model.Parent )

And it works for both tools. I changed the code (see below) to enable just MRI
and it also worked.

Code:

Sub onRowChange( oEvent as Object )
'    XrayTool.Xray( oEvent.Source.Model.Parent )
    MRILib.Mri( oEvent.Source.Model.Parent )

I'm not sure of the of the RC10 but I downloaded in Jan 2011 nad it is OOo
3.3.0

-- 
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
---------------------------------------------------------------------
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help

Reply via email to