To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=94980
                 Issue #|94980
                 Summary|error using LoadLibrary from "Tools" Library
               Component|scripting
                 Version|OOO300m9
                Platform|Unknown
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|code
             Assigned to|kr
             Reported by|brinzing





------- Additional comments from [EMAIL PROTECTED] Thu Oct 16 08:13:37 +0000 
2008 -------
Hi,

i noticed a bug in OO 3.0 final:

Executing a dialog using LoadLibrary() will end in an error.
Dialog is opened, but can't be closed with 'ok' button.

Closing dialog with "X" will display an error message.

Copying the LoadLibrary() code to the document's basic library
will not cause the error ...

OO 1.1.5 and OO 2.4.1 are not affected at all.

I will send an attachment.

Oliver


REM  *****  BASIC  *****
Option Explicit

Dim oDlg as Object

Sub Main
        GlobalScope.BasicLibraries.LoadLibrary("Tools")
        oDlg = LoadDialog("Standard", "Dialog1", DialogLibraries)
        oDlg.Execute()  
End Sub

Sub click_ok
        oDlg.EndExecute()
        MsgBox "ok clicked ..."
End Sub

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