MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guía de usuario Pagina 559

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 759
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
Vista de pagina 558
1 2 ... 554 555 556 557 558 559 560 561 562 563 564 ... 758 759

Comentarios a estos manuales

Sin comentarios