• 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: How to use a subclass of NSTextView inside a NSScrollView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use a subclass of NSTextView inside a NSScrollView?


  • Subject: Re: How to use a subclass of NSTextView inside a NSScrollView?
  • From: Mark T <email@hidden>
  • Date: Sun, 17 Mar 2002 12:55:39 -0500

> Hi!
>
> I just created a subclass "CMNotebookTextView" of "NSTextView" via
> IB, then I added the desired functionality in PB. I then wanted to
> use it via IB -- I dragged an NSScrollView to my window,
> double-clicked on it to get the inner NSTextView selected and
> wanted to modify "Custom Class" in the Info Window -- but that is
> "Not Applicable".
>
> So how can I use my new class inside the NSScrollView?
>
> Thanks in advance,
> Peter


Try choosing your custom class in the Attributes pane of Info instead of
Custom Class. It's counter-intuitive, but it seems to work.

Mark T.
_______________________________________________
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.

  • Follow-Ups:
    • Re: How to use a subclass of NSTextView inside a NSScrollView?
      • From: Peter Horn <email@hidden>
References: 
 >How to use a subclass of NSTextView inside a NSScrollView? (From: Peter Horn <email@hidden>)

  • Prev by Date: Re: Cocoa's Popularity
  • Next by Date: Re: Previous subject matter...
  • Previous by thread: How to use a subclass of NSTextView inside a NSScrollView?
  • Next by thread: Re: How to use a subclass of NSTextView inside a NSScrollView?
  • Index(es):
    • Date
    • Thread