Effacer les filtres
Effacer les filtres

uitable - how to set selectionhighlight off?

3 vues (au cours des 30 derniers jours)
Ding Yuan
Ding Yuan le 9 Juil 2018
Commenté : Kris Hoffman le 4 Août 2018
For current version, it appears that Proper SelectionHighlight is not working. What is the alternative way to do it?
  4 commentaires
Kris Hoffman
Kris Hoffman le 27 Juil 2018
Ding is very correct. I have this issue too. Here is the text from the help section.
"The behavior of the SelectionHighlight property changed in R2014b, and it is not recommended. It no longer has any effect on UIControl objects. This property might be removed in a future release."
This is a great feature because it sort of locks all the UIControls in place and prevents the user from moving them. And I don't have to tell you that if you're trying to check a very small box, this process can be infuriating...
So matlab, WHY?!?!!
Kris Hoffman
Kris Hoffman le 4 Août 2018
I called math works about this problem and it was embarrassingly simple to fix (for my issue at least). All I had to do was disable the toolbar for the entire figure and enable the toolbar for the axes that I needed to have some functionality.
The issue was that the figure toolbar governs all uicontrols. To take that away you just need to disable the toolbar
F=figure(...,’Toolbar’,’off’,...);

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by