On 8 Apr 2009, at 13:48:43, Tilo Villwock wrote:

Does anyone know, whether there is a way to make a circular NSSlider
not endless, so that it stops at a certain value?

Thanks

Tilo

That depends what you mean. If you mean it should act like a physical
volume control, where the slider only turns through about 270°, then I
suggest you simply subclass it and test if the value is, say, more
than 80, then set the value to 80.

More details would help us respond to your question.


That's exactly what i meant. I just thought there is a premade option somewhere hidden, but apparently not. I just think the slider is pretty useless that way unless you connect it to some sort of display to show what it is actually pointing at and even then it wouldn't be limited.

Tilo_______________________________________________

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 arch...@mail-archive.com

Reply via email to