MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guide de l'utilisateur Page 454

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 759
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 453
1 2 ... 449 450 451 452 453 454 455 456 457 458 459 ... 758 759

Commentaires sur ces manuels

Pas de commentaire