Re: How to use a subclass of NSTextView inside a NSScrollView?
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.