Accept target when not first responder
Accept target when not first responder
- Subject: Accept target when not first responder
- From: Fredrik Olsson <email@hidden>
- Date: Mon, 11 Sep 2006 10:22:54 +0200
I have a subclass of NSOutlineView that I want to always accepts a key
equivalent, even when the outline view is not in focus.
I have tried settings it as the windows nextResponder, but that does not
help. And I would like to avoid using the window delegate as proxy, only
forwarding to the outline view.
My subclass is a helper view that manages file attachments, in my
document based application. I want the view to be as self contained as
possible, basically just using a root path, and xml tree for reading
it's content.
Many document types can have this view, and I would like the attach
files, save attachments, and remove attachments menu items to hook up
themselves with as little redundant (copy and paste) code for each
document type as possible.
// Fredrik Olsson
_______________________________________________
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