Re: NSBrowser firstResponder issue
Re: NSBrowser firstResponder issue
- Subject: Re: NSBrowser firstResponder issue
- From: Mark T <email@hidden>
- Date: Thu, 16 May 2002 16:42:48 -0400
Tried it. Unfortunately, it's not called in this case. The matrix receives
the selectAll: message directly, and as far as I know, the NSBrowser
receives no messages.
Mark T.
>
>
What about tapping into this delegate method:
>
>
- (BOOL)browser:(NSBrowser *)sender selectRow:(int)row
>
inColumn:(int)column
>
>
It will allow you to intercept any selection requests and either allow
>
or reject them - or re-route them to the proper column.
>
>
j o a r
>
>
>
On Thursday, May 16, 2002, at 12:03 , Mark T wrote:
>
>
> I have an application which uses an NSBrowser for the display of most
>
> of its
>
> data. I want the select all menu option to work in my browser, which it
>
> does, except that due to the nature of my data, it only makes sense to
>
> select all cells in the rightmost column. I've created an NSBrowser
>
> category
>
> which includes my implementation of selectAll:, but it's never called.
>
> It
>
> turns out that the browser itself is never the firstresponder. Instead,
>
> the
>
> matrices inside it are. As a result, my method is never called. I was
>
> wondering if there was any workaround for this, as I cannot figure out
>
> a way
>
> for my method to be called by the menu item/key combo.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.