Creating Graphical User Interfaces |
Triggering Callback Execution
MATLAB evaluates the list box's callback after the mouse button is released or after certain key press events.
Value
property and trigger callback execution.
Value
property but trigger callback execution.
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:
Sliders | Pop-Up Menus |
© 1994-2005 The MathWorks, Inc.