Why was SelectionHighlight done away with for UIControls????

1 visualización (últimos 30 días)
Kris Hoffman
Kris Hoffman el 27 de Jul. de 2018
Comentada: Steven Lord el 31 de Jul. de 2018
WHY? It still works for lines and axes. You doin' me a confuse. Hek?

Respuestas (1)

Steven Lord
Steven Lord el 27 de Jul. de 2018
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 comentarios
Stephen23
Stephen23 el 30 de Jul. de 2018
Kriss Hoffman's "Answer" moved here:
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
Steven Lord el 31 de Jul. de 2018
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?
I don't know exactly why. But App Designer was first introduced in release R2016a, so probably not.
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by