MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guida Utente Pagina 559

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 759
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 558
Set Tab Order in a Programmatic GUI
'String',{'peaks','membrane','sinc'},. ..
'Position',[290 200 130 20]);
sth = uicontrol(fh,'Style','tex t','String','Select Data',...
'Position',[290 230 60 20]);
ph = uipanel('Parent',fh,'Units ','pixels',...
'Position',[290 30 130 150]);
ah = axes('Parent',fh,'Units',' pixels',...
'Position',[40 30 220 220]);
bh1 = uicontrol(ph,'Style','pus hbutton',...
'String','Contour','Position',[20 20 80 30]);
bh2 = uicontrol(ph,'Style','pus hbutton',...
'String','Mesh','Position',[20 60 80 30]);
bh3 = uicontrol(ph,'Style','pus hbutton',...
'String','Surf','Position',[20 100 80 30]);
You can obtain the default tab order for a f igure, panel, or button group by
retrieving its
Children property. For the example, the statement is
ch = get(ph,'Children')
11-71
Vedere la pagina 558
1 2 ... 554 555 556 557 558 559 560 561 562 563 564 ... 758 759

Commenti su questo manuale

Nessun commento