Detecting a focus change in a window?
Detecting a focus change in a window?
- Subject: Detecting a focus change in a window?
- From: Mark Dawson <email@hidden>
- Date: Sat, 23 Sep 2006 16:39:07 -0700
I have an NSStepper that controlls two NSTextFields. When focus changes from one field to the other, I want to update the stepper to relect the new value. However, I can't seem to find anything that allows me to detect the focus change.
In my NSWIndowController subclass, I added a -(BOOL)becomeFirstResponder. However, it is never called. Do I need to subclass my NSTextField views & implement becomeFirstResponder there? Or is there some other way?
Thanks,
mark
_______________________________________________
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