MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Specifikace Strana 158

  • 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 157
4 Programming GUIs
4-38
Controlling Figure Window Behavior
When designing a GUI you need to consider how you want the figure window
to behave. The appropriate behavior for a particular GUI depends on intended
use. Consider the following examples:
A GUI that implements tools for annotating graphs is usually designed to be
available while the user performs other MATLAB tasks. Perhaps this tool
operates on only one figure at a time so you need a new instance of this tool
for each graph.
A dialog that requires an answer to a question may need to block MATLAB
execution until the user answers the question. However, the user may need
to look at other MATLAB windows to obtain information needed to answer
the question. The dialog is blocking.
A dialog that warns users that the specified operation will delete files so you
want to force the user to respond to the warning before performing any other
action. In this case, the dialog is both blocking and modal.
The following techniques are useful for handling these GUI design issues:
Allow single or multiple instances of the GUI at any one time.
Use modal figure windows that allow users to interact only with the GUI.
Using Modal Figure Windows
Modal windows trap all keyboard and mouse events that occur in any visible
MATLAB window. This means a modal GUI figure can process the user
interactions with any of its components, but does not allow the user to access
any other MATLAB window (including the command window). In addition, a
modal window remains stacked on top of other MATLAB windows until it is
deleted, at which time focus returns to the window that last had focus. See the
figure
WindowStyle property for more details.
Use modal figures when you want to force users to respond to your GUI before
allowing them to take other actions in MATLAB.
Making a Figure Modal
Set the figure’s WindowStyle property to modal to make the window modal. You
can use the Property Inspector to change this property or add a statement in
Zobrazit stránku 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 215 216

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

Žádné komentáře

Allied Telesyn International Corp AT-3612T podręczniki

Instrukcje obsługi i podręczniki użytkownika dla Switche sieciowe Allied Telesyn International Corp AT-3612T.
Dostarczamy 1 pdf podręczników Allied Telesyn International Corp AT-3612T do pobrania za darmo według typów dokumentów: Przewodnik Instalacji






Więcej produktów i instrukcji dla Switche sieciowe Allied Telesyn International Corp

Modele Rodzaj dokumentu
AT-FS708 Przewodnik Instalacji     Allied Telesyn International Corp AT-FS708 Installation guide, 48 strony
AT-8216FXL/VF Podręcznik Użytkownika   Allied Telesyn International Corp AT-8216FXL/VF User`s guide, 8 strony
Formula 8200 Podręcznik Użytkownika   Allied Telesyn International Corp Formula 8200 User`s guide, 164 strony
AT-FH824u Podręcznik Użytkownika   Allied Telesyn International Corp AT-FH824u User`s guide, 32 strony
CentreCOM 3600 Series Dokumentacja    Allied Telesyn International Corp CentreCOM 3600 Series Specifications [en] , 97 strony
AT-9424Ts/XP Przewodnik Instalacji   Allied Telesyn International Corp AT-9424Ts/XP Installation guide, 106 strony
AT-8324SX Przewodnik Instalacji    Allied Telesyn International Corp AT-8324SX Installation guide, 81 strony
AT-8324SX Przewodnik Instalacji     Allied Telesyn International Corp AT-8324SX Install guide [en] , 34 strony
CentreCOM 3600 Series Instrukcja Użytkownika   User`s Command Guide, 22 strony
AT-8324SX Przewodnik Instalacji     Allied Telesyn International Corp AT-8324SX Install guide, 34 strony
Formula 8200 Przewodnik Instalacji   Allied Telesyn International Corp Formula 8200 Installation guide, 28 strony
AT-WA7500 Przewodnik Instalacji      Allied Telesyn International Corp AT-WA7500 Installation guide, 51 strony
AT-FH824u Przewodnik Instalacji   Allied Telesyn International Corp AT-FH824u Installation guide, 36 strony
AT-8088/SC Przewodnik Instalacji    Allied Telesyn International Corp AT-8088/SC Installation guide, 115 strony
TurboStack AT-TSA2 Instrukcja Użytkownika     Allied Telesyn International Corp TurboStack AT-TSA2 User manual, 18 strony
AT-8016F/MT Przewodnik Instalacji    Allied Telesyn International Corp AT-8016F/MT Installation guide, 103 strony
Formula 8200 Podręcznik Użytkownika   Allied Telesyn International Corp Formula 8200 User`s guide, 80 strony
TurboStack AT-TSA8 Instrukcja Instalacji    Allied Telesyn International Corp TurboStack AT-TSA8 Installation manual [en] , 95 strony
AT-8324SX Przewodnik Instalacji     Allied Telesyn International Corp AT-8324SX Install guide, 36 strony
AT-FS708 Przewodnik Instalacji      Allied Telesyn International Corp AT-FS708 Installation guide, 42 strony