PDA

View Full Version : Text display with mouseover on NSTextField




jivaro
May 28, 2012, 12:09 PM
I have a NSTextField with a somewhat reduced capacity (the number of characters that can be displayed even if more characters do fit on it). Is there any way of triggering the appearance of a text window showing the complete text when mousing over the original NSTextField ? Is it possible to do it as a method of the NSTextField ? Programmatically (e.g. by defining a NSTracking Area ?) ? Does the mouseover method exist in any view control ?

Thanks very much for giving me some hint on this issue.

Joan



Red Menace
May 28, 2012, 12:17 PM
Do you mean something other than a tooltip?

jivaro
May 28, 2012, 12:25 PM
Do you mean something other than a tooltip?
http://stackoverflow.com/questions/6082311/create-informational-popup-tooltip-in-cocoa

I think that the tooltip you mention should work. Thanks very much for your help.

Joan