Re: Changing the sender of an <NSTextAttachmentCell>
Re: Changing the sender of an <NSTextAttachmentCell>
- Subject: Re: Changing the sender of an <NSTextAttachmentCell>
- From: Douglas Davidson <email@hidden>
- Date: Thu, 23 Mar 2006 11:20:44 -0800
On Mar 23, 2006, at 11:16 AM, The Karl Adam wrote:
Okay, I have an <NSTextAttachmentCell> and I want to change it's
sender on performAction::: The problem here is that since it's
embedded in the text view it has no controlView and tries to send that
as it's sender which is nil. I need to know which cell triggered the
action. Is there any way to do this?
Implement one of the NSTextAttachmentCell trackMouse... methods and
you should be able to handle mouse events on your attachments as you
wish.
Douglas Davidson
_______________________________________________
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