Re: Split slider control?
Re: Split slider control?
- Subject: Re: Split slider control?
- From: Ryan Stevens <email@hidden>
- Date: Wed, 24 Nov 2004 11:53:31 -0800
On Nov 24, 2004, at 9:35 AM, Jonathan del Strother wrote:
I need a split slider control - essentially an NSSlider with 2 knobs,
used to specify a range within the slider. Is there any freely
available control that would suit my purpose, or am I going to have to
write my own?
If it's the latter, any thoughts on how to do it would be much
appreciated - I have very little experience with extending/subclassing
existing Cocoa controls.
Cheers,
Jon
I think the easy way would be to use two NSSliders side by side or one
above the other. If you need it to look like it's all one slider you
could subclass NSSliderCell and draw the bar without an end cap.
That won't allow the user to pull the knob of one slider over the other
but if you don't want/need that then I think this is the way to go.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden