| Creating Graphical User Interfaces | ![]() |
Setting Up the Close Confirmation Dialog
To set up the dialog, do the following:
Do you want to create a question dialog?, in the Layout Editor and select Property Inspector from the pop-up menu.
String in the Property Inspector and change the String property to Are you sure you want to close?
modaldlg.fig in the File name field.
The GUI should now appear as in the following figure.
| View the Layout and GUI M-File | Setting Up the GUI with the Close Button | ![]() |