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: Using NSScrollView at run time



Do you also setup a clip view, associate it with your document view,
and pass it to NSScrollView's setContentView:?

On Jan 30, 2004, at 6:41 AM, Amit Sadana wrote:

> I am adding controls to a tabview item dynamically and I want it to be
> scrollable. The tabview item itself has been inserted on the fly and
> not
> through the Interface Builder.
>
> My problem is how to make the contents of the tabview item scrollable.
>
> I am allocating an NSView on which all the controls are drawn and this
> NSView in turn is attached to my tab view item through the following
> method
>
>
>
> [myTabViewItem setView:myView]
>
>
>
> I used NSScrollView and its method setDocumentView:myView but it
> didn't
> work out.
>
>
>
> Any ideas or suggestions are most welcome.
>
>
>
> Thanks
>
>
>
> -Amit
> _______________________________________________
> 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.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.