MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Especificaciones Pagina 159

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 216
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 158
1 2 ... 154 155 156 157 158 159 160 161 162 163 164 ... 215 216

Comentarios a estos manuales

Sin comentarios