How to bold dialog box?

10 Ansichten (letzte 30 Tage)
John Doe
John Doe am 28 Mai 2020
Beantwortet: Tommy am 28 Mai 2020
Hi everyone.
Is there any way that I can boldface the writings in a dialog box?
Thanks in advance.

Akzeptierte Antwort

Tommy
Tommy am 28 Mai 2020
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);

Weitere Antworten (0)

Kategorien

Mehr zu Graphics Object Programming finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by