MATLAB Creating Graphical User Interfaces

(ff) #1
The following statements add two menu subitems to Item 1, assign each subitem a
keyboard accelerator, and disable the first subitem.

seh1 = uimenu(eh1,'Text','Choice 1','Accelerator','C',...
'Enable','off');
seh2 = uimenu(eh1,'Text','Choice 2','Accelerator','H');

9 Lay Out a Programmatic UI

Free download pdf