App Designer: Multiwindow Apps Issue

3 次查看(过去 30 天)
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

回答(1 个)

Kevin Holly
Kevin Holly 2023-1-20
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.

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by