Re: circular NSSlider not endless
Re: circular NSSlider not endless
- Subject: Re: circular NSSlider not endless
- From: Benjamin Dobson <email@hidden>
- Date: Wed, 8 Apr 2009 14:28:58 +0100
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._______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
References: | |
| >(no subject) (From: Tilo Villwock <email@hidden>) |