Re: NSTableView eating keyDowns?
Re: NSTableView eating keyDowns?
- Subject: Re: NSTableView eating keyDowns?
- From: Steve Palmer <email@hidden>
- Date: Tue, 09 Mar 2004 12:33:58 -0800
The way I did it was to subclass NSTableView and handle the keyDown event in the subclass.
- Steve
On Tuesday, March 09, 2004, at 11:57AM, Darrin Cardani <email@hidden> wrote:
>
I have a window with an NSTableView in it. I have written a -keyDown:
>
method for the window controller. I want the window controller to
>
respond to the user pressing the space bar. I get key down events in
>
the window controller's -keyDown: method if the user presses a letter
>
key. However, if the user presses the space bar, I don't get the
>
event. The NSTableView has focus and is the only view in the window
>
that can accept focus. Pressing the space bar doesn't seem to have
>
any affect on the table view, but it also isn't passed to the window
>
controller. Why is that?
>
>
Thanks,
>
Darrin
>
--
>
Darrin Cardani - email@hidden
>
President, Buena Software, Inc.
>
<http://www.buena.com/>
>
Video, Image and Audio Processing Development
>
_______________________________________________
>
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.
_______________________________________________
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.