Creating Graphical User Interfaces    

Example: Using the Modal Dialog to Confirm an Operation

This example illustrates how to use the modal dialog GUI together with another GUI that has a Close button. Clicking the Close button displays the modal dialog, which asks users to confirm that they really want to proceed with the close operation.

The following figure illustrates the dialog positioned over the GUI application, awaiting the user's response.

The example is presented in the following sections:


  Modal Question Dialog View the Layout and GUI M-File