MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manual do Utilizador Página 399

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 500
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 398
Create Menus for Programmatic UIs
10-67
If you use the standard menu bar menus, any menus you create are added to it. If you
choose not to display the standard menu bar menus, the menu bar contains only the
menus that you create. If you display no standard menus and you create no menus, the
menu bar itself does not display.
Use the figure MenuBar property to display or hide the MATLAB standard menu bar
shown in the preceding figure. Set MenuBar to figure (the default) to display the
standard menus. Set MenuBar to none to hide them.
fh.MenuBar = 'figure'; % Display standard menu bar menus.
fh.MenuBar = 'none'; % Hide standard menu bar menus.
In these statements, fh is the handle of the figure.
Commonly Used Properties
The most commonly used properties needed to describe a menu bar menu are shown in
the following table.
Vista de página 398
1 2 ... 394 395 396 397 398 399 400 401 402 403 404 ... 499 500

Comentários a estes Manuais

Sem comentários