Re: Using NSScrollView at run time
Re: Using NSScrollView at run time
- Subject: Re: Using NSScrollView at run time
- From: Daryn <email@hidden>
- Date: Sat, 31 Jan 2004 01:24:23 -0600
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.