Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with NSScrollView



On Thursday, July 31, 2003, at 04:28 AM, matt neuburg wrote:

On Mon, 28 Jul 2003 12:35:08 -0700, John Randolph <email@hidden> said:

2) Grab a normal textView in the scrollview from the 'Cocoa-text'
palette, double click inside the scrollview to select the text view,
and set it to a custom class.

Are you actually working with a version of IB in which what you just said is possible? If so, what version? Thx - m.

It seems pretty straightforward in the December release:

1. In "classes" tab, create subclass of NSTextView. Alternately, if you already created the subclass in PB, drag its header file in so IB is aware of it.
2. Drag NSScrollView with embedded NSTextView from palette to window.
3. Select NSTextView; bring up inspector's "custom class" panel. The subclass from step 1 is listed, so select it.

--
Tom Harrington
email@hidden
_______________________________________________
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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.