FROM : Seth Delackner
DATE : Wed Oct 13 16:12:34 2004
If I use 10.3's new NSToolTipAttributeName to apply a tooltip to text, then let the NSTextView delegate respond to
-textView:willDisplayToolTip:forCharacterAtIndex:
I do
1. The textview is already in focus
2. Press the hotkey that programmatically inserts some text with that attribute
3. mouse over the text
and the delegate method is never called.
Now, if I cmd-tab out, then back in, causing the view to regain focus, mousing over the text triggers the delegate and the tooltip appears.
DATE : Wed Oct 13 16:12:34 2004
If I use 10.3's new NSToolTipAttributeName to apply a tooltip to text, then let the NSTextView delegate respond to
-textView:willDisplayToolTip:forCharacterAtIndex:
I do
1. The textview is already in focus
2. Press the hotkey that programmatically inserts some text with that attribute
3. mouse over the text
and the delegate method is never called.
Now, if I cmd-tab out, then back in, causing the view to regain focus, mousing over the text triggers the delegate and the tooltip appears.
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

