• 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: circular NSSlider not endless
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: Difference between SEL and const char* when sending a message?
  • Next by Date: NSTask & Quitting Processes ...
  • Previous by thread: (no subject)
  • Next by thread: soft line breaks in NSLayoutManager
  • Index(es):
    • Date
    • Thread