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

回答(1 个)

Abhishek Chakram
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

类别

Help CenterFile 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!

Translated by