tooltip doesn't appear until losefocus/gainfocus
tooltip doesn't appear until losefocus/gainfocus
- Subject: tooltip doesn't appear until losefocus/gainfocus
- From: Seth Delackner <email@hidden>
- Date: Wed, 13 Oct 2004 14:12:34 +0000
- Mail-followup-to: email@hidden
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.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden