MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Betriebsanweisung Seite 559

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 759
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 558
1 2 ... 554 555 556 557 558 559 560 561 562 563 564 ... 758 759

Kommentare zu diesen Handbüchern

Keine Kommentare