MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE User Manual Page 406

  • Download
  • Add to my manuals
  • Print
  • Page
    / 500
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 405
10 Lay Out a Programmatic UI
10-74
Property Values Description
Visible off, on. Default is
off
Indicates whether the context menu is
currently displayed. While the context menu
is displayed, the property value is on; when
the context menu is not displayed, its value is
off.
Setting the value to on forces the posting of
the context menu. Setting to off forces the
context menu to be removed. The Position
property determines the location where the
context menu is displayed.
For a complete list of properties and for more information about the properties listed in
the table, see Uicontextmenu Properties.
Create the Context Menu Object
Use the uicontextmenu function to create a context menu object. The syntax is
handle = uicontextmenu('PropertyName',PropertyValue,...)
The parent of a context menu must always be a figure. Use the Parent property to
specify the parent of a uicontextmenu. If you do not specify the Parent property, the
parent is the current figure as specified by the root CurrentFigure property.
The following code creates a figure and a context menu whose parent is the figure. At this
point, the figure is visible, but not the menu.
fh = figure('Position',[300 300 400 225]);
cmenu = uicontextmenu('Parent',fh,'Position',[10 215]);
Note “Force Display of the Context Menu” on page 10-77 explains the use of the
Position property.
Add Menu Items to the Context Menu
Use the uimenu function to add items to the context menu. The items appear on the
menu in the order in which you add them. The following code adds three items to the
context menu created above.
Page view 405
1 2 ... 401 402 403 404 405 406 407 408 409 410 411 ... 499 500

Comments to this Manuals

No comments

Energizer CAPP2BODE manuali

Manuali dei proprietari e guide per l'utente per Torce Energizer CAPP2BODE.
We fornisce 1 manuali pdf Energizer CAPP2BODE per scaricare gratuitamente in base al tipo di documento: Scheda Tecnica


Energizer CAPP2BODE Scheda Tecnica (1 pagine)


Marchio: Energizer | Categoria: Flashlights | Dimensione: 0.07 MB |

 




Più prodotti e manuali per Torce Energizer

Modelli Tipo di Documento
627462 Scheda Tecnica   Energizer Booklite, 1 pagine
ENSHH31L Scheda Tecnica   Energizer ENSHH31L flashlight, 1 pagine
625700 Scheda Tecnica   Energizer Princess, 1 pagine
ENSHL11L Scheda Tecnica   Energizer ENSHL11L flashlight, 1 pagine
628909 Scheda Tecnica   Energizer ATEX 2D Intrinsically Safe LED, 1 pagine
HDL1AAE Scheda Tecnica   Energizer HDL1AAE flashlight, 1 pagine
628908 Scheda Tecnica   Energizer ATEX 2AA Intrinsically Safe LED, 1 pagine
WRRCNM3G Scheda Tecnica   Energizer WRRCNM3G flashlight, 1 pagine
WR2A3ACE Scheda Tecnica    Energizer WR2A3ACE flashlight, 1 pagine
EDMCC42E Manuale Utente   Energizer EDMCC42E flashlight, 1 pagine
HD33A3CE Manuale   Energizer HD33A3CE flashlight, 2 pagine
HDL33A2E Manuale   Energizer HDL33A2E flashlight, 1 pagine