How to disable title of ButtonGroup
조회 수: 2 (최근 30일)
이전 댓글 표시
I have an app I've created using App Designer. Included is a Button Group that I would like to Enable and Disable with a checkbox. So far this is pretty straightforward. I can disable everything in the ButtonGroup using set(app.ButtonGroup.children,'enable','off'); However, this disables everything except for the title of the button group. This results in a grayed out box with a black font title. How can I disable the title as well, or at least change the font color so it looks disabled?
It's worth noting that this machine doesn't have the latest version, so I can't use ButtonGroup.Enable
댓글 수: 0
채택된 답변
Rashed Mohammed
2021년 1월 29일
Hi David,
You can change the ForegroundColor property of the ButtonGroup to make it appear as disabled.
Hope this helps!
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!