MATLAB COMPILER RELEASE NOTES User's Guide Page 492

  • Download
  • Add to my manuals
  • Print
  • Page
    / 716
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 491
R2008a
18-42
hidegui Function Being Obsoleted
The hidegui function is being obsoleted and will be removed in a future version. Instead
of this function use the set function to set the figure handle's handlevisibility
property to on or off:
set(figurehandle, ‘handlevisibility’, 'on')
Changes to How uicontrols Set Figure SelectionType
SelectionType is a figure property that user interface components set when you click
them. It is a read-only property that describes the gesture used when clicking the
most recently selected object. For single mouse clicks, components no longer set the
figure SelectionType property to anything but 'normal' when they are enabled.
By default, all components are enabled (their Enable property is 'on'). Previously,
enabled components responded to modifier keys (Ctrl, Alt, Shift, and Cmd) by setting
SelectionType to 'alt' or 'extend'. Now all key modifiers set SelectionType to
'normal' for UI components.
Disabled components (those with their Enable property set to 'off') set
SelectionType to 'alt' or 'extend' in response to modifier keys.
When Enable is 'on', the control is active and your Callback responds to clicks.
When Enable is 'off', the control is not active, and your ButtonDownFcn responds
to clicks. You can provide components with a ButtonDownFcn to detect changes in
SelectionType.
An additional change affects how list box uicontrol components respond to double-
clicking. The second of two successive clicks sets the SelectionType property of an
enabled list box to 'open'. Other types of uicontrols set their SelectionType to
'normal' after both the first and the second clicks unless key modifiers were used.
The following table describes the click responses for uicontrol components.
Enable Status Mouse Button
Pressed
Key Modifier
Pressed
SelectionType
on First Click
SelectionType
on Second Click
on left 'normal'
'normal'
*
on right 'alt' 'open'
on left Ctrl 'normal'
'normal'
*
Page view 491
1 2 ... 487 488 489 490 491 492 493 494 495 496 497 ... 715 716

Comments to this Manuals

No comments