How to bold dialog box?

17 ビュー (過去 30 日間)
John Doe
John Doe 2020 年 5 月 28 日
回答済み: Tommy 2020 年 5 月 28 日
Hi everyone.
Is there any way that I can boldface the writings in a dialog box?
Thanks in advance.

採用された回答

Tommy
Tommy 2020 年 5 月 28 日
You can tell msgbox, inputdlg, warndlg, errordlg, and questdlg (and maybe others?) to use a tex interpreter. They all default to no interpreter, I believe. Here is an example for msgbox:
CreateStruct.Interpreter = 'tex';
CreateStruct.WindowStyle = 'non-modal'; % you need to supply this field too. default is non-modal
msgbox('\bf This is bold', CreateStruct);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDialog Boxes についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by