MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guide de l'utilisateur Page 477

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 759
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 476
Use a Modal Dialog Box to C onfirm an Operation (GUIDE)
When you click the Close button on the GUI, the m odal dialog box opens, as
shown in the following figure.
Clickin
gtheYes button closes both the close dialog and the GUI that calls
it. Clic
king the No button closes just the dialog.
How the
Close-Confirmation GUIs Work
This s
ection describes what occurs when you click the Close button on the
GUI:
1 User c
licks the Close button. Its callback then:
Gets
the current position of the G UI from the
handles structure with
the c
ommand:
pos_size = get(handles.figure1,'Po sition')
Cal
ls the modal dialog box with the command:
user_response = modaldlg('Title','Confirm Close');
10-103
Vue de la page 476
1 2 ... 472 473 474 475 476 477 478 479 480 481 482 ... 758 759

Commentaires sur ces manuels

Pas de commentaire