Clear Filters
Clear Filters

uitable - how to set selectionhighlight off?

2 views (last 30 days)
Ding Yuan
Ding Yuan on 9 Jul 2018
Commented: Kris Hoffman on 4 Aug 2018
For current version, it appears that Proper SelectionHighlight is not working. What is the alternative way to do it?
  4 Comments
Kris Hoffman
Kris Hoffman on 27 Jul 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 on 4 Aug 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’,...);

Sign in to comment.

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!