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: Jim Correia <email@hidden>
- Date: Thu, 4 Aug 2005 21:59:37 -0400
On Aug 4, 2005, at 6:07 PM, Charilaos Skiadas wrote:
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.
Indeed. That's what I was looking for.
Thanks much!
Jim
_______________________________________________
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