uitable - how to set selectionhighlight off?
2 次查看(过去 30 天)
显示 更早的评论
For current version, it appears that Proper SelectionHighlight is not working. What is the alternative way to do it?
4 个评论
Kris Hoffman
2018-7-27
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
2018-8-4
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’,...);
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!