MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guia do Utilizador Página 521

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 759
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 520
Add Components to a Programmatic GUI
Asyntaxforpanelsis
ph = uipanel(fh,'PropertyName',Pro pertyValue,...)
where ph is the handle of the resulting panel. The first argument, fh,specifies
the handle of the parent figure. You can also specify the parent as a panel or
button group. See the
uipanel reference page for other valid syntaxes.
A syntax for button groups is
/jointfilesconvert/387265/bgh = uibuttongroup('PropertyName' ,PropertyValue,...)
where /jointfilesconvert/387265/bgh is the handle of the resulting button group. For button groups,
you must use the
Parent property to specify the component parent. See the
uibuttongroup reference page for other v alid syntaxes.
Forbothpanelsandbuttongroups,ifyoudonotspecifyaparent,the
component parent is the current figure as specified by the root
CurrentFigure
property.
Subsequent topics describe commonly used properties of panels and button
groups and offer a simple e xample for each component.
“Commonly U sed Properties” on page 11-33
“Panel” on page 11-35
“Button Group” on page 11-36
Commonly Used Properties
The most commonly used properties needed to describe a panel or button
group are shown in the following table:
11-33
Vista de página 520
1 2 ... 516 517 518 519 520 521 522 523 524 525 526 ... 758 759

Comentários a estes Manuais

Sem comentários