MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manual de usuario Pagina 418

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 500
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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;
Vista de pagina 417
1 2 ... 413 414 415 416 417 418 419 420 421 422 423 ... 499 500

Comentarios a estos manuales

Sin comentarios