Re: Which control is the field editor standing in for?
Re: Which control is the field editor standing in for?
- Subject: Re: Which control is the field editor standing in for?
- From: Charilaos Skiadas <email@hidden>
- Date: Thu, 4 Aug 2005 17:07:47 -0500
On Aug 4, 2005, at 4:54 PM, Jim Correia wrote:
Given the window's field editor, how do I determine which control/
view the field editor is standing in for?
From:
http://developer.apple.com/documentation/Cocoa/Conceptual/
TextArchitecture/Concepts/TextFieldsAndViews.html
"The field editor designates the current text field as its delegate,
enabling the text field to control changes to its contents. When the
focus shifts to another text field, the field editor attaches itself
to that field instead."
So the current text-field will simply be the delegate of the editor.
At least that's what that document leads me to believe.
Walk up the view hierarchy until I find a superview which
acceptsFirstResponder? Some other method?
Thanks,
Jim
Haris
_______________________________________________
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