MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Uživatelská příručka Strana 555

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 759
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 554
1 2 ... 550 551 552 553 554 555 556 557 558 559 560 ... 758 759

Komentáře k této Příručce

Žádné komentáře