Creating Graphical User Interfaces Previous page   Next Page

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.

Changing the string property to peaks, membrane, and surf

When you click on the Layout Editor, the current layout of the GUI appears as in the following figure.


Previous page  String Property for Push Buttons and Static Text Callback Properties Next page

© 1994-2005 The MathWorks, Inc.