• 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
Using NSScrollView at run time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using NSScrollView at run time


  • Subject: Using NSScrollView at run time
  • From: "Amit Sadana" <email@hidden>
  • Date: Fri, 30 Jan 2004 18:11:37 +0530
  • Thread-topic: Using NSScrollView at run time

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.

  • Prev by Date: Re: How to use a class, which may not be available
  • Next by Date: Re: Drawing a selection rectangle
  • Previous by thread: proper declareTypes: usage.
  • Next by thread: Re: Using NSScrollView at run time
  • Index(es):
    • Date
    • Thread