https://bugs.documentfoundation.org/show_bug.cgi?id=158157

--- Comment #4 from Alain Romedenne <[email protected]> ---
(In reply to Buovjaga from comment #3)
> I tried to reproduce, but I got stuck. I copied the Basic code from
> https://wiki.documentfoundation.org/Documentation/DevGuide/
> Writing_UNO_Components#Disabling_Commands_at_Runtime
> 
> If I run the main function, the About dialog opens and another dialog opens
> with the text "Ok, dispatch object for .uno:About" and I am unable to close
> this dialog. I have to kill the LibreOffice process.
> 
> If I run disableCommands, I get
> 
> BASIC runtime error.
> Property or method not found: stopped.
> 
> Pointing to line 94:
> 
> EXC.stopped REM Let's bubble-up the error condition
> 
> What should I do to reproduce this?

Hi Ilmari,

Including the 'About' panel in the test is probably a bad idea as pointed by
Noel in bug157915. Please remove "About" from CMD_LIST Basic array when running
Main() routine.

If you intend to run routines separately, please make sure they include Main()
initialization statements:
Set EXC = New ERROR_RAISER ' Exception artifact
With ...
    ...
End With
CMD_LIST = ...

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to