Default button of "questdlg" not working in 2025a

11 views (last 30 days)
Jianfei
Jianfei on 7 Sep 2025
Commented: dpb on 9 Sep 2025
answer = questdlg(quest,dlgtitle,btn1,btn2,btn3,defbtn)
When the dialogue box is opened, the default button is selected, but pressing ENTER won't click the button, and pressing ESC won't close the dialogue box.
  4 Comments
Jianfei
Jianfei on 9 Sep 2025
@dpb It's working ok now. I'm still trying to repeat this issue. I had been using Java JFrame, which is a workaround to migrate an old GUI application that has lots of swing features. This line is triggered while running GUI callbacks. I'll come back to update this question if I can repeat the issue.
dpb
dpb on 9 Sep 2025
I should have guessed, but didn't connect the user name, @Jianfei <vbg>

Sign in to comment.

Answers (0)

Categories

Find more on Programming Utilities in Help Center and File Exchange

Products


Release

R2025a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!