Tooltip - GUI modeless feedback

버전 1.32.0.0 (5.49 KB) 작성자: Geoffrey Akien
"Tooltip" for displaying unobtrusive modeless feedback to the user.
다운로드 수: 838
업데이트 날짜: 2016/8/24

라이선스 보기

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 http://undocumentedmatlab.com/blog/spicing-up-matlab-uicontrol-tooltips/ 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.

인용 양식

Geoffrey Akien (2024). Tooltip - GUI modeless feedback (https://www.mathworks.com/matlabcentral/fileexchange/26283-tooltip-gui-modeless-feedback), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14SP3
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.32.0.0

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

1.3.0.0

Update for StopFcn error. Working on R2012b.

1.1.0.0

Forgot to include a helper file (getposition).

1.0.0.0