How to bold dialog box?

조회 수: 21 (최근 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 CenterFile Exchange에서 Dialog Boxes에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by