App Designer: Multiwindow Apps Issue

2 visualizzazioni (ultimi 30 giorni)
Desmond Harris
Desmond Harris il 19 Gen 2023
Risposto: Kevin Holly il 20 Gen 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

Risposte (1)

Kevin Holly
Kevin Holly il 20 Gen 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.

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by