GUI Button Highlights in Blue (When Clicked)
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi all,
I have a simple GUI with 3 buttons and 2 labels. When I click a button, Matlab automatically highlights it in this light blue metallic color. I want to deactivate this automatic highlighting mechanism. Anybody know how to do this?
Jeff
댓글 수: 0
답변 (1개)
Paulo Silva
2011년 9월 8일
See if the button has some code on his ButtonDownFcn, if there's some code in it remove it, also see the SelectionHighlight, turn it off
댓글 수: 8
Sean de Wolski
2011년 9월 8일
probably is an OS setting. I haven't used Windows 7 so I can't advise. If you make a second button or a second GUI or even just a questdlg does it occur?
>> questdlg('Does it occur below?','Test','yes','no')
참고 항목
카테고리
Help Center 및 File Exchange에서 Dialog Boxes에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!