- uihtml: https://www.mathworks.com/help/matlab/ref/uihtml.html
- HTML Properties: https://www.mathworks.com/help/matlab/ref/matlab.ui.control.html-properties.html
App designer hover and clicked elements change background ground color
11 次查看(过去 30 天)
显示 更早的评论
Hi all,I am using the Matlab app designer and want to change the hover and clicked background color of elements such as in the drop-down menu and listbox.Do you have an idea how to change that? Thanks for your help! Ingo
0 个评论
回答(1 个)
Abhishek Chakram
2023-10-13
Hi Ingo Hermann,
It is my understanding that you want to change the element’s background colour when it is hovered or clicked. To achieve this, you can create your custom element using the “HTML” component present in the Component Library in the App Designer. The “HTML” component uses the “uihtml” function.
You can refer to the following documentation to know more about the function:
Best regards,
Abhishek Chakram
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!