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

            Bug ID: 172957
           Summary: LibreOffice BASIC no longer supports dialog object
                    endDialog method
           Product: LibreOffice
           Version: 26.2.5.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Description:
For a long time the dialog object included the endDialog method, which is very
useful for control-bound macros that end the dialog on certain conditions. e.g.
sub daEnterClose(ev as object)
    if ev.KeyCode = com.sun.star.awt.Key.RETURN then 
        ev.Source.AccessibleContext.AccessibleParent.endDialog(IDOK)
I see no reason for eliminating endDialog.

Steps to Reproduce:
1.Create a dialog with a button bound to a macro that tries to close the
parent.
2.
3.

Actual Results:
The endDialog method does not exist.

Expected Results:
This method should be restored.


Reproducible: Always


User Profile Reset: No

Additional Info:
endDialog is useful and not bad

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

Reply via email to