Why was SelectionHighlight done away with for UIControls????
3 次查看(过去 30 天)
显示 更早的评论
WHY? It still works for lines and axes. You doin' me a confuse. Hek?
回答(1 个)
Steven Lord
2018-7-27
That change was made back in release R2014b as part of the major update to the graphics system. We had also mentioned that these properties might be removed in the release R2014a Release Notes.
How were you using those properties? Perhaps if we know what you were using them to do we can suggest an alternate approach.
2 个评论
Stephen23
2018-7-30
Right, little late to the game I know. Trying to lock down some uncontrolled on a figure. Checkboxes, buttons, edits. Once the items on the figure are selectable, I don’t have to tell you that ticking that little checkbox gets, interesting. Any other way to accomplish the same? Also, why wasn’t this feature removed from axes and lines, maybe more?
And I don't necessarily want to call a GUI from the app. This not being a feature any longer has made my figure (2 weeks worth of work) completely useless. if I zoom in on the axes and the select the arrow tool again then all my buttons, edit boxes, checkboxes, even labels lose all function i.e. I cannot click them. Ive been sitting here trying to figure out why this was taken away. Maybe to FORCE a move to GUI/AppDesigner? Guess I'll have to wait till tomorrow (Monday) for an answer. Man, I'm glad every developer gets weekends off!
Steven Lord
2018-7-31
Trying to lock down some uncontrolled on a figure. Checkboxes, buttons, edits. Once the items on the figure are selectable, I don’t have to tell you that ticking that little checkbox gets, interesting. Any other way to accomplish the same?
When I create a GUI I normally don't expect users of the GUI to need to rearrange or edit the components. That's my responsibility as the author and designer of the GUI.
if I zoom in on the axes and the select the arrow tool again then all my buttons, edit boxes, checkboxes, even labels lose all function i.e. I cannot click them.
Yes, that's correct. If plot editing is enabled, clicking on a component in the figure selects the component rather than triggering it. But if I remember correctly changing the SelectionHighlight property of those objects didn't prevent you from selecting them, it just controlled whether or not they showed that they were selected. So I'm not certain how that would have helped you in your workflow.
Ive been sitting here trying to figure out why this was taken away. Maybe to FORCE a move to GUI/AppDesigner?
Perhaps the best thing for you to do is to contact Technical Support using the Contact Us link in the upper-right corner of this page, describe how you used those properties to the Support staff, and ask how to achieve the same goal.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!