View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Tooltip - GUI modeless feedback

Be the first to rate this file! 8 Downloads (last 30 days) File Size: 5.49 KB File ID: #26283 Version: 1.32

Tooltip - GUI modeless feedback



05 Jan 2010 (Updated )

"Tooltip" for displaying unobtrusive modeless feedback to the user.

| Watch this File

File Information

This was inspired after reading "About Face", and after becoming annoyed with modal dialogue boxes. It displays a text box below a uicontrol for a short period of time, before being removed entirely. Its not a "real" tooltip, perhaps more of a "messagetip".
I tried to try to force the tooltip to appear, but couldn't get it to work. This also doesn't require the use of findjobj, which also takes too long to obtain the java handle.
tooltip(hObject, message)
Brings up a tooltip with the message for the default 4 seconds.

tooltip(hObject, message, displayTime)
Can supply a different length of time to display it for.

tooltip(hObject, message, displayTime, Property/Value pairs)
Formats the box anyway you see fit.

warntooltip(hObject, message,...)
Pre-formatted yellow background.

warntooltip(hObject, message,...)
Pre-formatted red background with white text.

MATLAB release MATLAB 7.1.0 (R14SP3)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
06 Jan 2010 1.1

Forgot to include a helper file (getposition).

12 Nov 2013 1.3

Update for StopFcn error. Working on R2012b.

24 Aug 2016 1.32

Bugfix for getposition for later versions of MATLAB (post-HG2)

Contact us