Re: delegate question
Re: delegate question
- Subject: Re: delegate question
- From: Dmitry Markman <email@hidden>
- Date: Mon, 9 Oct 2006 09:30:42 -0400
thanks for your answer
for some reason I don't get keyDown message
I suspect that's because of
- (void)webView:(WebView *)sender makeFirstResponder:(NSResponder *)
responder
{
[[self window] makeFirstResponder : responder];
}
without that I have different problems
thanks again
On Oct 7, 2006, at 11:25 AM, Alan Smith wrote:
Overriding public void keyDown(NSEvent theEvent) in your view subclass
should do it.
Read up on the Responder Chain to find out why this will work. Also,
read the NSEvent documentation to figure out how to handle the key
stroke.
Hope this helps, Alan
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
Dmitry Markman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden