How to get NSPopUpButtonCell as an NSTextAttachment sending self instead of nil when it performs it's attached target/action
How to get NSPopUpButtonCell as an NSTextAttachment sending self instead of nil when it performs it's attached target/action
- Subject: How to get NSPopUpButtonCell as an NSTextAttachment sending self instead of nil when it performs it's attached target/action
- From: "The Karl Adam" <email@hidden>
- Date: Mon, 13 Mar 2006 10:52:23 -0500
I have a NSPopUpButtonCell embedded in a text view that changes some
options by the user and then performs it's action. The problem here is
that since the cell is alone without a control when it performs it's
action it tries to send it's control along which is nil, I need it
instead to send itself so I can then get the attachment it came from
and perform the correct action. How do I go about doing this?
-Karl
_______________________________________________
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