App designer hover and clicked elements change background ground color

11 ビュー (過去 30 日間)
Ingo Hermann
Ingo Hermann 2021 年 11 月 9 日
回答済み: Abhishek Chakram 2023 年 10 月 13 日
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 Center および File ExchangeDevelop 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