MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Instrukcja Użytkownika Strona 418

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 500
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 417
10 Lay Out a Programmatic UI
10-86
Standard Background Color
MATLAB uses the standard system background color of the system on which the UI
is running as the default component background color. This color varies on different
computer systems, e.g., the standard shade of gray on the PC differs from that on UNIX
system, and may not match the default UI background color.
You can make the UI background color match the default component background color.
This code gets the default component background color and assign it to the figure.
defaultBackground = get(groot,'defaultUicontrolBackgroundColor');
fh.Color = defaultBackground;
Przeglądanie stron 417
1 2 ... 413 414 415 416 417 418 419 420 421 422 423 ... 499 500

Komentarze do niniejszej Instrukcji

Brak uwag