FROM : Shoaib
DATE : Sun Dec 29 17:27:54 2002
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Sun Dec 29 17:27:54 2002
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Shoaib | Dec 29, 17:27 | |
| Shoaib | Dec 29, 17:27 | |
| Mike Ferris | Dec 29, 19:42 |






Cocoa mail archive

