Re: keyDown overriding
Re: keyDown overriding
- Subject: Re: keyDown overriding
- From: Peter Horn <email@hidden>
- Date: Tue, 4 Jun 2002 14:03:24 +0200
Hi!
Could somebody point me where I am wrong.
You need to derive a new class
@interface myTextField : NSTextField { }
- (void)keyDown:(NSEvent *)theEvent;
and then
@implementation myTextField
- (void)keyDown:(NSEvent *)theEvent; {
NSLog (@"touche enfoncee");
}
and then use your myTextField in IB instead of NSTextField.
Peter
_______________________________________________
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.