On Aug 3, 2009, at 4:43 AM, Alastair Houghton wrote:

On 2 Aug 2009, at 21:48, Steve Cronin wrote:

Folks;

NSTextView <- NSText <- NSView <- NSReponder <- NSObject

                NSTextField <- NSView <- NSReponder <- NSObject

At runtime if I have access to an instance of NSTextView how can I address the NSTextField?
I know I should know this but I having a 'moment'...

Maybe [aTextView delegate] -- If the NSTextView is currently acting as the field editor for the NSTextField, the NSTextField is its delegate.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to