GUIDE using CreateFcn to set TooltipString?
6 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
simple question, is it possible to change the TooltipString value of a static text in its CreateFcn? I want to display a formula, normally I would do it with following code:
set(handles.statictext,'TooltipString','somewhat longer formula here','Interpreter','latex')
Problem here is that the handles.statictext does not yet exist in its CreateFcn. If I only do:
set('TooltipString','somewhat longer formula here','Interpreter','latex')
it does not work either. Maybe there is a way to set the TooltipString interpreter to latex in the GUI Inspector in GUIDE?
Thanks for your help!
4 个评论
Adam
2017-10-11
Yeah, I don't think you can do anything fancy with tooltips beyond just setting a string. Even edit boxes and text boxes themselves don't support advanced formatting without resorting to HTML or underlying java objects, as far as I am aware.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!