• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTextView without NSScrollView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView without NSScrollView?


  • Subject: Re: NSTextView without NSScrollView?
  • From: Scott Herz <email@hidden>
  • Date: Fri, 4 May 2001 18:27:15 -0700

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


References: 
 >NSTextView without NSScrollView? (From: Dan Wood <email@hidden>)

  • Prev by Date: Re: NSTextView without NSScrollView?
  • Next by Date: (no subject)
  • Previous by thread: Re: NSTextView without NSScrollView?
  • Next by thread: Re: NSTextView without NSScrollView?
  • Index(es):
    • Date
    • Thread