inputdlg in the app designer

43 Ansichten (letzte 30 Tage)
wetlab Technion
wetlab Technion am 5 Jul. 2021
Kommentiert: wetlab Technion am 16 Jul. 2021
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

Akzeptierte Antwort

Julian Hapke
Julian Hapke am 6 Jul. 2021
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 Kommentar
wetlab Technion
wetlab Technion am 16 Jul. 2021
thank you julian and sorry for the late reply. this worked for me

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by