Re: How to tell if first responder
Re: How to tell if first responder
- Subject: Re: How to tell if first responder
- From: j o a r <email@hidden>
- Date: Wed, 12 May 2004 15:34:54 +0200
Perhaps:
[[[self window] firstResponder] isEqual: self]
j o a r
On 2004-05-12, at 15.07, Bjvrn Carlstrvm wrote:
>
This might seem like a simple question but I can't find the answer
>
anywhere in the documentation. When drawing a custom view, i want to
>
draw highlights differently if it is the first responder. How can I
>
tell if a view is the first responder from its drawRect: method?
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.