Re: Capture "Space" key event
Re: Capture "Space" key event
- Subject: Re: Capture "Space" key event
- From: Matt Jaffa <email@hidden>
- Date: Fri, 5 Mar 2004 10:07:43 -0700
Thanks
Allan, Shawn, and anyone else I didn't mention.
Hmm it does in the online documentation say it is subclassed my
NSFirstResponder.
My mistake,
thanks a bunch,
Matt
On Mar 5, 2004, at 9:06 AM, Shawn Erickson wrote:
On Mar 5, 2004, at 7:41 AM, Matt Jaffa wrote:
Allan,
I looked at the online documentation,
There is no keyDown or sendEvent Method in the NSTableView.
So How can I overide by subclassing the NSTableView, when it does not
exist?
Matt
Consider what NSTableView is a subclass of [1]... look up the chain at
those classes documentation, in this case NSResponder [2].
It is best to get an understanding of the overall design of AppKit to
work best in it. The following page helps to give an overview...
<http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Intro/IntroAppKit.html>
...and in this case...
<http://developer.apple.com/documentation/Cocoa/Conceptual/
BasicEventHandling/index.html>
-Shawn
[1] Inherits from: NSText : NSView : NSResponder : NSObject
[2]
<http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSResponder.html>
_______________________________________________
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.