How to bold dialog box?
10 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi everyone.
Is there any way that I can boldface the writings in a dialog box?
Thanks in advance.
0 Commenti
Risposta accettata
Tommy
il 28 Mag 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);
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Graphics Object Programming in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!