I have two GUIs that have structures linked between. When the second GUI is opened, if a certain variable is not available, I want it to return the user to the first GUI.
I tried using uistack at the end of the 2nd GUI opening function, it brings the 1st GUI to the front very briefly then defaults back to the 2nd GUI.
Here is the process logically: 1. First GUI is opened. 2. Second GUI is opening, data from first GUI is loaded. 3. Variable is missing, active figure changed back to first GUI.
Best Answer