https://bugs.documentfoundation.org/show_bug.cgi?id=146282
Bug ID: 146282
Summary: msgBox only displays "OK" button
Product: LibreOffice
Version: 7.0.6.2 release
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Description:
My macro:
```
Sub Message_Box_Test
dim iResponse as Integer
dim strNotes as String
iResponse = MsgBox("Are there special notes that need to be added to
this report?", Buttons = YESNOCANCEL, "Special Notes")
If iResponse = 7 Then
MsgBox "No"
ELSEIF iResponse = 2 Then
Exit Sub
ELSE
strNotes = inputBox("Enter the special notes as they should
appear:", "Special Notes")
END IF
msgBox strNotes
End Sub```
When I run it, the first message box has the correct title, but only an OK
button.
Steps to Reproduce:
1.Run the macro in the description (between the ```'s).
Actual Results:
The first message box has only one button
Expected Results:
It should have three buttons, yes, no, and cancel
Reproducible: Always
User Profile Reset: No
Additional Info:
Version 7.0.6.2(x64)
Build 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b
4 threads
VCL:win
en-US
Calc: threaded
I'm somewhat annoyed that I couldn't highlight the information in the About
window to copy and paste here.
--
You are receiving this mail because:
You are the assignee for the bug.