MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Specifikace Strana 159

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 216
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 158
Controlling Figure Window Behavior
4-39
the initialization section of the GUI M-file in the opening function with the set
command.
set(hObject,'WindowStyle','modal')
Dismissing a Modal Figure
A GUI using a modal figure must take one of the following actions in a callback
routine to release control:
Delete the figure.
delete(handles.figure1)
Make the figure invisible.
set(handles.figure1,'Visible','off')
Change the figure’s WindowStyle property to normal.
set(handles.figure1,'WindowStyle','normal')
The user can also type Ctrl+C in a modal figure to convert it to a normal
window.
Zobrazit stránku 158
1 2 ... 154 155 156 157 158 159 160 161 162 163 164 ... 215 216

Komentáře k této Příručce

Žádné komentáře