Creating Graphical User Interfaces |
String Property for Pop-up Menus
A pop-up menu's String
property controls the list of menu items. To set the pop-up menu items, select the pop-up menu in the Layout Editor. In the Property Inspector, click the icon next to String
. This opens the String
property edit box. Delete Pop-up Menu
in the String
property edit box, and type peaks
, membrane
, and sinc
on three separate lines, as shown in the following figure.
When you click on the Layout Editor, the current layout of the GUI appears as in the following figure.
String Property for Push Buttons and Static Text | Callback Properties |
© 1994-2005 The MathWorks, Inc.