MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Especificaciones Pagina 117

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 216
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 116
Creating Menus — The Menu Editor
3-67
You can also
Select the
Separator above this item check box to display a separator above
the menu item when the menu is first opened.
Select the
Check mark this item check box to display a check next to the
menu item when the menu is first opened.
A check is particularly useful to indicate the current state of the menu item.
For example, suppose you have a menu item called
Show axes that toggles
the visibility of an axes between visible and invisible each time the user
selects the menu item. If you want a check to appear next to the menu item
when the axes are visible, add the following code to the callback for the
Show
axes
menu item:
if strcmp(get(gcbo, 'Checked'),'on')
set(gcbo, 'Checked', 'off');
else
set(gcbo, 'Checked', 'on');
Vista de pagina 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 215 216

Comentarios a estos manuales

Sin comentarios