To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=42240
                  Issue #:|42240
                  Summary:|creating dialogs not working first time
                Component:|framework
                  Version:|OOo 1.1.2
                 Platform:|PC
                      URL:|
               OS/Version:|Linux
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|scripting
              Assigned to:|npower
              Reported by:|grval





------- Additional comments from [EMAIL PROTECTED] Mon Feb  7 14:22:39 -0800 
2005 -------
I use both OOo 1.1.2 and 1.1.3, this occurs on both versions.

The first time you create A dialog (in a macro), it gives an "Action not
supported. Invalid procedure call.". If you run the macro again, it works fine,
until you shutdown and restart open office.

There are two ways I have tried it:

oDlg = CreateUnoDialog(DialogLibraries.Standard.CriteriaDialog)


-- and --

oLib = DialogLibraries.getByName("Standard")
dlgDef = oLib.getByName("CriteriaDialog")
oDlg = CreateUnoDialog(dlgDef)  

I did some investigation and found that oLib.getByName() returns Null.

This only happens on the first run, if you run it again it works fine.

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