Re: Scroll View usage
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.