MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guida Utente Pagina 568

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 759
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 567
11 Lay Out a Programmatic GUI
The following statement adds a separator line preceding the second menu
item.
set(eh2,'Separator','on');
The follo wing statements add two menu subitems to Item 1, assign each
subitem a keyboard accelerator, and disable the first subitem.
seh1 = uimenu(eh1,'Label','Choice 1','Accelerator','C' ,.. .
'Enable','off');
seh2 = uimenu(eh1,'Label','Choi ce 2','Accelerator','H' );
The A ccel erator property adds keyboard accelerators to the menu items.
Some accelerators may be used for other purposes on your system and other
actions may result.
The
Enable property disables the first subitem Choice 1 so a user cannot
select it when the m enu is first created. The item appears dimmed.
11-80
Vedere la pagina 567
1 2 ... 563 564 565 566 567 568 569 570 571 572 573 ... 758 759

Commenti su questo manuale

Nessun commento