User`s guide

Creating Graphical User Interfaces (GUIs)
18-43
Enable Status Mouse Button
Pressed
Key Modifier
Pressed
SelectionType
on First Click
SelectionType
on Second Click
on right Ctrl 'alt' 'open'
on left Shift 'normal'
'normal'
*
on right Shift 'extend' 'open'
off left 'normal' 'open'
off right 'alt' 'open'
off left Ctrl 'alt' 'open'
off right Ctrl 'alt' 'open'
off left Shift 'extend' 'open'
off right Shift 'extend' 'open'
*
Double-click result is 'open' for list boxes.
For a two-button mouse, pressing the left and right buttons together (without key
modifiers) can set SelectionType to either 'normal' or 'extend'; the results are
unpredictable, possibly depending on which button you actually depressed first.
uipushtool and uitoggletool toolbar buttons do not set SelectionType at
all, no matter what keys or mouse buttons you press. When they are disabled,
uipushtool and uitoggletool controls do not execute their ClickedCallback (or
OnCallback/OffCallback), nor does using them trigger a WindowButtonDownFcn
callback.
Compatibility Considerations
If your callback code depends on the value for SelectionType, be aware that for the left
mouse button, pressing Ctrl no longer sets it to 'alt' and that Shift-clicking no longer
sets it to 'extend'.
The SelectionType behavior for the right mouse button has not changed.