MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuale Utente Pagina 271

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 330
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 270
Using a Modal Dialog to Confirm an Operation
10-47
Using a 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:
“View Completed Layouts and Their GUI M-Files” on page 10-47
“Setting Up the Close Confirmation Dialog” on page 10-48
“Setting Up the GUI with the Close Button” on page 10-49
“Running the GUI with the Close Button” on page 10-50
“How the GUI and Dialog Work” on page 10-51
View Completed Layouts and Their GUI M-Files
If you are reading this in the MATLAB Help Browser, you can click the
following links to display the GUIDE Layout Editor and the MATLAB Editor
with a completed version of this example. This enables you to see the values of
all component properties and to understand how the components are
assembled to create the GUI. You can also see a complete listing of the code
that is discussed in the following sections.
Vedere la pagina 270
1 2 ... 266 267 268 269 270 271 272 273 274 275 276 ... 329 330

Commenti su questo manuale

Nessun commento