Re: NSTextView without NSScrollView?
Re: NSTextView without NSScrollView?
- Subject: Re: NSTextView without NSScrollView?
- From: Scott Herz <email@hidden>
- Date: Sat, 5 May 2001 15:33:44 -0700
Silly list serve is eating my posts...lets try this one more time:
Other than using a custom view, your can drag a textView with the
scrollview on to your window. Then, switch the document window to
outline mode by clicking the little outline icon above the scrollbar.
This will show you the view hierarchy. You can turn down the
NSScrollView, hilight the contained NSTextView and perform a copy. You
can then paste the NSTextView in your window.
Scott.
On Friday, May 4, 2001, at 10:56 AM, Dan Wood wrote:
Is there any way in Interface Builder to create an NSTextView *without*
an associated NSScrollView? There seems to be no way to detach it from
the scroll view. (I want to have an NSTextView, not an NSTextField, so
I can populate it with an HTML <a> tag and make use of the textView:
clickedOnLink: atIndex: delegate method so I can respond to a click.)
I managed to fake it by using a custom view and then setting the class
to NSTextView -- but then I have to set all the attributes
programatically...
--
Dan Wood
email@hidden
http://www.karelia.com/
http://www.bikealameda.org/
Mac OS X Developer: Online Resume: http://www.karelia.com/resume.html
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev