MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Betriebsanweisung Seite 454

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 759
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 453
10 Examples of GUIDE GUIs
Set the Background to White
The list box create function enables you to determine the background color
of the list box. The following code shows the create function for the list box
that is tagged
ResultsList:
function Result sLis t_CreateFcn(hObject, eventdata, handles)
% Hint: listbox controls us ually have a white background, cha nge
% 'usewhite/jointfilesconvert/387265/bg' to 0 to use default. See ISPC and C OMPUTER.
usewhite/jointfilesconvert/387265/bg = 1;
if usewhiteb g
set(hObject,'BackgroundColor','white') ;
else
set(hObject,'BackgroundColor',...
get(0,'defaultUicontrolBackgroundColor '));
end
10-80
Seitenansicht 453
1 2 ... 449 450 451 452 453 454 455 456 457 458 459 ... 758 759

Kommentare zu diesen Handbüchern

Keine Kommentare