On 17/01/2010, at 3:56 PM, Brad Stone wrote:

> I was able to capture the mouseDown event in the field but only in a subclass 
> which is causing me problems elsewhere.


Indeed, a mouse click is not the only reason a field might become focused - the 
user could tab into it as well.

Overriding -becomeFirstResponder should do it.

Taking a step back though, WHY do you need to get notified here? What are you 
trying to do? There might be a better way.

--Graham




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to