필터 지우기
필터 지우기

uitable - how to set selectionhighlight off?

조회 수: 3 (최근 30일)
Ding Yuan
Ding Yuan 2018년 7월 9일
댓글: Kris Hoffman 2018년 8월 4일
For current version, it appears that Proper SelectionHighlight is not working. What is the alternative way to do it?
  댓글 수: 4
Kris Hoffman
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
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 CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by