Is there a way to disable focus on a calling app while designing multi-window apps using app designer?
Show older comments
I'm designing a multi-window app using app designer in R2019a, where information from the calling app is passed to the dialog app on the press of a button. I would like to disallow the user from interacting with the calling app while the dialog app is executing.
This example provided by TMW disables the calling button in the main app. However I have several buttons, menus and a table; all of which I'll have to disable and re-enable on deleting the dialog app, which seems tedious.
This FEX submission was not designed to work with uifigure/app designer.
Thanks.
Accepted Answer
More Answers (1)
Subhadeep Koley
on 5 Nov 2019
Hi, there is a work around by setting the visibility of the calling UIFigure to ‘off’ at the ButtonPushed call back.
app.UIFigure.Visible = 'off';
At the called UIFigure CloseRequestFcn callback you can again set the visibility to ‘on’.
app.UIFigure.Visible = 'on';
Hope this helps!
1 Comment
Ashwin Thombre
on 6 Nov 2019
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!