MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Uživatelský manuál Strana 408

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 500
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 407
10 Lay Out a Programmatic UI
10-76
This code associates the context menu with the figure and with the axes by setting the
UIContextMenu property of the figure and the axes to the handle cmenu of the context
menu.
fh.UIContextMenu = cmenu; % Figure
ah.UIContextMenu = cmenu; % Axes
Right-click on the figure or on the axes. The context menu appears with its upper-left
corner at the location you clicked. Right-click on the panel or its push button. The context
menu does not appear.
Zobrazit stránku 407
1 2 ... 403 404 405 406 407 408 409 410 411 412 413 ... 499 500

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

Žádné komentáře