App Designer: Multiwindow Apps Issue

2 views (last 30 days)
Desmond Harris
Desmond Harris on 19 Jan 2023
Answered: Kevin Holly on 20 Jan 2023
After reading the above link on creating multwindow apps in App Designer, I am having issues moving "forward" and "backwards" through apps, meaning as I proceed to the next app, I am having issues going back to the previous and enabling certain buttons. Specifically, coding this line does not work between 2 windows...
app.CallingApp.OptionsButton.Enable = "on";
I am wondering what is the best approach to jumping between 3 or more apps. If I take the approach shown in the example, I get blocked by my startup function.
Main App--> 2nd app--> 3rd app
then
3rd App --> 2nd App (enable button)--> Main app

Answers (1)

Kevin Holly
Kevin Holly on 20 Jan 2023
Instead of deleting an app, I just make the uifigure invisible, so that I can keep each app's property variables.
You can download this multiwindow app I created on File Exchange linked below, if you want to see my approach.

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!