Re: NSTextField & NSTextView
Re: NSTextField & NSTextView
- Subject: Re: NSTextField & NSTextView
- From: Nicholas Riley <email@hidden>
- Date: Sun, 4 Aug 2002 15:39:07 -0500
- Mail-followup-to: Famille GOUREAU-SUIGNARD <email@hidden>, Mailing list cocoa <email@hidden>
On Sun, Aug 04, 2002 at 10:21:03PM +0200, Famille GOUREAU-SUIGNARD wrote:
>
But, how do I link my own sub-class of NSTextView to my subclass of
>
NSTextField ?
>
OR, how do I specify to my subclass of NSTextField, what textView to
>
use ?
See the documentation for -[NSWindow fieldEditor:forObject:] and
windowWillReturnFieldEditor:toObject:. You may not need to subclass
NSTextField to do what you want.
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.