Re: Creating a NSScrollView programmatically
Re: Creating a NSScrollView programmatically
- Subject: Re: Creating a NSScrollView programmatically
- From: Umed Zokirov <email@hidden>
- Date: Mon, 27 Oct 2003 10:16:48 -0800
ScrollViews on their own are "invisible" if they don't have a content
view to display. So if you create a scrollview programmatically its
contentview is nil, so nothing is displayed.
After you create a scrollview you need a contentview for it to display
and do appropriate clipping. Read
file:///Developer/Documentation/Cocoa/TasksAndConcepts/
ProgrammingTopics/DrawViews/iAboutScrollViews.html to understand for
more info.
Umed
_______________________________________________
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.