How can I apply HTML formatting to uicontrol tooltips in MATLAB 7.2 (R2006a)?

15 Ansichten (letzte 30 Tage)
I would like to be able to apply HTML formatting to uicontrol tooltips in MATLAB.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 29 Aug. 2019
Bearbeitet: MathWorks Support Team am 29 Aug. 2019
To apply HTML formatting to uicontrol tooltips you may use a valid HTML string for the 'tooltipString' property of the uicontrol in MATLAB 7.2 (R2006a).
The following code creates a uicontrol with a tooltip which has line breaks and font formatting.
set(uicontrol,'tooltipString','<html><font color="black">testing</font><br><i><b><font color="red"><sup>123</sup></font></b></i>...</html>');
Please note that this is an unsupported feature and may change in future releases.

Weitere Antworten (0)

Kategorien

Mehr zu App Building finden Sie in Help Center und File Exchange

Produkte


Version

R2006a

Community Treasure Hunt

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

Start Hunting!

Translated by