• 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: Cocoa-dev Digest, Vol 6, Issue 545
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa-dev Digest, Vol 6, Issue 545


  • Subject: Re: Cocoa-dev Digest, Vol 6, Issue 545
  • From: Tilo Villwock <email@hidden>
  • Date: Wed, 8 Apr 2009 16:15:03 +0200

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


  • Prev by Date: Re: NSTask & Quitting Processes ...
  • Next by Date: Re: Fully transparent window opaque to mouse?
  • Previous by thread: Re: NSTask & Quitting Processes ...
  • Next by thread: Setting Min, MAx and range of characters for NSTextField
  • Index(es):
    • Date
    • Thread