Re: FW: Creating NSScrollView in IB?
Re: FW: Creating NSScrollView in IB?
- Subject: Re: FW: Creating NSScrollView in IB?
- From: Henri Lamiraux <email@hidden>
- Date: Thu, 10 May 2001 07:54:30 -0700
Yes, IB doesn't have a stand alone Scroll view object. A scroll view is
not a very interesting view by itself. The way to put something in a
scroll view is to us the "Group in"-> "Scroll view" menu item.
On Thursday, May 10, 2001, at 07:43 AM, Kevin Murray wrote:
I've been poking around, looking at prototyping some stuff for a new
project I'm working on, and I seem to be stuck at the starting gate...
I want something that behaves (for lack of a better example) like
MSOutlook in that it is a list of items (mail), where some items
(messages
that have been read) are composed of a single line, but other items
(unread messages) have that information plus a preview that can have a
variable height. I'm envisioning a NSScrollView that contains a custom
view that can manage sub-views to construct a list that has variable
height cells (basically an NSMatrix that supports heterogeneous cells).
This is all well and good, except that I cannot figure out how to
create a
NSScrollView in Interface Builder. This seems like it should be an
obvious
and simple task, but there is no NSScrollView control in the Views
Palette. I'm trying to figure out: 1. if there is a better way of
developing this whole idea, 2. A way to create a useful NSScrollView
with
a subview in IB (the Sketch sample program has one), or 3. if I should
give up and try to build the whole thing dynamically in code.
IB seems to have a lot of hidden features accessible through
non-obvious
interface or magic modifier keys - am I missing one of these that will
allow me to do something like create a NSTextView then delete the
NSTextView leaving the NSScrollView behind, or create an NSTextView,
but
change the type of the embedded NSTextView to something else?
-kevin
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Henri Lamiraux
Engineering Manager
User Interface Tools Group
Apple