inputdlg in the app designer

조회 수: 43 (최근 30일)
wetlab Technion
wetlab Technion 2021년 7월 5일
댓글: wetlab Technion 2021년 7월 16일
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