• 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: Scroll View usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scroll View usage


  • Subject: Re: Scroll View usage
  • From: j o a r <email@hidden>
  • Date: Wed, 9 Apr 2003 14:21:31 +0200

Consider using a NSMatrix inside a NSScrollView - it's much easier to add / remove cells from a NSMatrix than adding / removing views.

1) Add and configure a button in IB
2) Alt+Drag in the desired direction to create a NSMatrix of the button cells
3) Select Layout > Make subviews of > Scroll View

...and then check the docs for NSMatrix on how to work with the contained cells.

j o a r

On Wednesday, Apr 9, 2003, at 12:44 Europe/Stockholm, peesapaty ramesh wrote:

I have a section on the screen where I instantiate
and add buttons at runtime. If these buttons exceed
6, I need a scroll-bar. I have currently made this
section of the screen as scroll view but I do not get
the scroll bar. Could any of you help me implement
this.
_______________________________________________
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.

References: 
 >Scroll View usage (From: peesapaty ramesh <email@hidden>)

  • Prev by Date: What does this mean?
  • Next by Date: More Transferring Projects to new Computer
  • Previous by thread: Scroll View usage
  • Next by thread: How to deselect a selected row?
  • Index(es):
    • Date
    • Thread