MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guida Utente Pagina 555

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 759
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 554
Compose and Code GUIs with Interactive Tools
setprop(object_handle,'pos')
ans =
set(object_handle,'Position',[20 20 60 20])
If you omit the property name, the function displays a GUI listing all the
properties of the object.
setprop(object_handle)
When you select a property name from the list and click OK, setprop returns
a set string for that property and its current value:
ans =
set(btn1,'FontName','MS Sans Se rif')
The setprop function places its return value on the system clipboard. You can
paste the result directly into your GUI code file. If you copy something else
before pasting, copy the value printed for
ans (or the variable you assigned
values to) from the Command Window and paste it into your code.
11-67
Vedere la pagina 554
1 2 ... 550 551 552 553 554 555 556 557 558 559 560 ... 758 759

Commenti su questo manuale

Nessun commento