• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Split slider control?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Split slider control? (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: Unicode case conversion
  • Next by Date: Re: C++Lib in objective-C
  • Previous by thread: Re: Split slider control?
  • Next by thread: Re: Split slider control?
  • Index(es):
    • Date
    • Thread