How about using a NSSlider?

On 02-Oct-08, at 7:43 AM, James Walker wrote:

Is it possible to use a scroller without a scroll view? The first problem is that IB won't let me create an NSScroller that is not embedded in an NSScrollView. I guess I could shrink down the NSScrollView so that you only see the one scroll bar. Then the next problem would be how to set the current value. I see the method setFloatValue:knobProportion:, which I guess would set the current value. But this method is marked deprecated in 10.5, with no explanation of why it's deprecated or what one should do instead.

I suppose someone is sure to ask why I can't use NSScrollView. I'm doing a kind of scrolling that isn't just shifting a view around. Some members are arranged in two rows, like so...

1  2  3
4  5  6

and when you scroll right, they change like this...

2  3  4
5  6  7

and so on.
--
 James W. Walker, Innoventive Software LLC
 <http://www.frameforge3d.com/>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/chaitanya%40expersis.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to