Creating Graphical User Interfaces Previous page   Next Page

List Boxes

Triggering Callback Execution

MATLAB evaluates the list box's callback after the mouse button is released or after certain key press events.

If the user double-clicks, the callback executes after each click. MATLAB sets Selection Type to normal on the first click and to open on the second click. The callback can query the Selection Type property to determine if it was a single- or double-click.

List Box Examples

See the following examples for more information on using list boxes:


Previous page  Sliders Pop-Up Menus Next page

© 1994-2005 The MathWorks, Inc.