We want to get colors on edit text in GUI. How can we do this ?

1 回表示 (過去 30 日間)
cevdet kopuz
cevdet kopuz 2019 年 12 月 11 日
コメント済み: cevdet kopuz 2019 年 12 月 12 日
We want to get colors on edit text in GUI. How can we do this ? Is there any color code ?

回答 (1 件)

Robert U
Robert U 2019 年 12 月 12 日
Hi cevdet kopuz,
if you use uicontrol()-elements in your GUI, you can make use of the properties "ForegroundColor" and "BackgroundColor". Both can be controlled by supplying RGB value triplets.
Kind regards,
Robert

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by