keyDown overriding
keyDown overriding
- Subject: keyDown overriding
- From: Famille GOUREAU-SUIGNARD <email@hidden>
- Date: Tue, 4 Jun 2002 13:18:07 +0200
Hi,
I'd like to intercept keys stroke when a textField has focus.
In IB I set a connection between the textField (delegate) and the
instance of my class managing the interface (ctrl-drag).
In the header file of my class I declared : - (void)keyDown:(NSEvent
*)theEvent ;
And in the .m file I writed :
- (void)keyDown:(NSEvent *)theEvent
{
NSLog (@"touche enfoncee") ;
}
But nothing appends.
Could somebody point me where I am wrong.
Thanks.
Camille
_______________________________________________
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.