MATLAB Creating Graphical User Interfaces

(Barry) #1
Create Menus for Programmatic UIs

Force Display of the Context Menu


If you set the context menu Visible property on, the context menu is displayed at the
location specified by the Position property, without the user taking any action. In this
example, the context menu Position property is [10 215].


cmenu.Visible = 'on';


The context menu displays 10 pixels from the left of the figure and 215 pixels from the
bottom.

Free download pdf