App designer hover and clicked elements change background ground color

11 views (last 30 days)
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

Answers (1)

Abhishek Chakram
Abhishek Chakram on 13 Oct 2023
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

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!