App Designer - How to create a callback function for pressing the 'Close Window' Button

107 views (last 30 days)
Hello,
I would like to give the user a warning when certain actions have not been done, such as selecting a number of options from dropdown lists, and the user attempts to close the window by pressing on the 'x' shown below.
How can I create a callback function for this button?
Thanks,
Carlos

Accepted Answer

Mario Malic
Mario Malic on 17 Feb 2021
Hi Carlos,
here's the answer from Adam Danz.

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!