MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Spezifikationen Seite 135

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 180
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 134
Launching a Dialog to Confirm an Operation
5-11
Making the Dialog Modal
To make the dialog modal, select the figure in the Layout Editor and right-click
to display the context menu. Select
Property Inspector from the context
menu. Use the Property Inspector to set the figure’s
WindowStyle property to
modal.
Sequence Following a Close Button Press
The following sequence occurs when the user presses the Close button on the
GUI application:
1 User clicks Close button – its callback calls the M-file to launch the
confirmation dialog and waits for a returned value.
2 Confirmation dialog M-file executes and waits for the user to take one of
three possible actions: click the
Yes push button, click the No push button,
or click the close box (
X) on the window border. All other interactions with
MATLAB are blocked.
Seitenansicht 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 179 180

Kommentare zu diesen Handbüchern

Keine Kommentare