• 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: List of views...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List of views...


  • Subject: Re: List of views...
  • From: "Erik M. Buck" <email@hidden>
  • Date: Mon, 3 Feb 2003 15:27:46 -0500

Don't add sub-views to the content view of an NSScrollView. Add them to the
DOCUMENT view.

See the NSScrollView documentation:
http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/Programmin
gTopics/DrawViews/iAboutScrollViews.html

--============_-1167833166==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

I want to thank Todd Thomas and Mike Morton for sample code, I got
something working pretty quickly.

One other thing is puzzling me; I'm trying to add these views to a
NSScrollerView by calling

id contentView = [_scrollView contentView];
[contentView
addSubview:[newEventView customView]
positioned:NSWindowBelow
relativeTo:nil];

but they all appear to be on top of each other at the bottom of the
scrollview. I want them added in a list view, how can I achieve this?

->Ken
_______________________________________________
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.

  • Prev by Date: Re: Auto-mounting disk images
  • Next by Date: Re: Doc search strategy
  • Previous by thread: Old project doesn't work anymore
  • Next by thread: Re: Doc search strategy
  • Index(es):
    • Date
    • Thread