inputdlg in the app designer

43 次查看(过去 30 天)
hello, I am using i the inputdlg as part of a matlab app. (maybe that is the heart of the problem, is this forbidden? I know that questdlg i forbiddden.)
I noticed a weird "bug". whenever I click "cancel" when in the app the screen "jumps" to the last screen I was in. attaching a video.
would be thankfull for any assistance.
Nathan

采纳的回答

Julian Hapke
Julian Hapke 2021-7-6
I think this solution should work for inputdlg as well:
tl;dr: reset the focus to the app's uifigure in the function that calls the inputdlg as soon as the inputdlg is closed.
  1 个评论
wetlab Technion
wetlab Technion 2021-7-16
thank you julian and sorry for the late reply. this worked for me

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by