becomeFirstResponder and resignFirstResponder
becomeFirstResponder and resignFirstResponder
- Subject: becomeFirstResponder and resignFirstResponder
- From: "Shoaib" <email@hidden>
- Date: Sun, 29 Dec 2002 16:27:54 GMT
I have subclassed NSTextField and overridden becomeFirstResponder and
resignFirstResponder methods. Everytime I click in my custom NSTextField,
both the methods get called, instead of just becomeFirstResponder. Is there
a reason for this?
I want to show a border around the NSTextField while the user is in there,
and remove the border when the user has left the NSTextField, but can't seem
to because both methods get called at the same time.
_______________________________________________
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.