Controlling which GUI is active/on top

2 views (last 30 days)
Andreas
Andreas on 17 Oct 2013
Commented: Andreas on 18 Oct 2013
Hello all,
I've been trying to google this, but I guess im not sure how to search for it.
I have two GUIs which share data between them using the handles structure. GUI A calls GUI B and then B might need to go back to A to reset parameters. I would like to press a button on B and bring A back onto the screen.
I found this command which I call from GUI B
movegui(handles.Patient_Data.figure1,'onscreen')
but even though it moves GUI A it does not bring it in front of B.
Is this something that is possible to make?
Thank you all, Andreas.

Accepted Answer

nl2605
nl2605 on 17 Oct 2013
  1 Comment
Andreas
Andreas on 18 Oct 2013
Thank you! I did not even think of using the "humble" figure() function.

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!