Add Tooltip to each UI Tree Checkbox in App Designer
Show older comments
In App Desinger I want to add tooltips to each ui tree checkbox, so here each checkbox shall tell the user more of what is done or checked with the check exactly. Example: For "Block Colors" a tooltip might show something like "Checks if each Simulink Block has its dedicated color as defined by the company guidelines". Is there an option, as I can only find to add a tooltip to the parent CheckBoxTree but not each individual checkbox? Thank you.

Accepted Answer
More Answers (2)
dpb
on 21 Nov 2025
0 votes
No, the 'Tooltip' property is a member of only the uitree object; the children of the tree do not have such.
Seems like a reasonable enhancement request, but no way to do it at present. There aren't any callbacks defined, either, so using one of those to display some text in a 'Tag' doesn't work, either. I did not explore whether one can use 'addlistener' to the nodes or not.
Image Analyst
on 21 Nov 2025
Edited: Image Analyst
on 22 Nov 2025
0 votes
If anyone would know how to do it, it would be Yair Altman.
1 Comment
While Yair is certainly the preminent whizard, I'm afraid most of his firepower for this sort of thing has been neutered by Mathworks in R2025 unless one also loads the JVM that isn't done any more by default. If go that route, then would revert to using prior SWING controls instead of the new MATLAB-supplied ui-replacements.
Would love be be shown my assumptions are in error... <vbg>
Here's <link to Yair's answer> to a thread a couple of years ago about relevance of his Java enhancements book that kinda' outlines where heading was then -- with R2025 Mathworks did finally take the plunge.
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!