• 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: Current tick mark index of NSSlider?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Current tick mark index of NSSlider?


  • Subject: Re: Current tick mark index of NSSlider?
  • From: Andreas Mayer <email@hidden>
  • Date: Mon, 20 Dec 2004 23:27:08 +0100


Am 20.12.2004 um 23:04 Uhr schrieb Glen Simmons:

Am I missing something?

You do have: - the minimum value (min) - the maximum value (max) - the number of tick marks (n) - the actual value (a)

You want:
- the tick mark corresponding to the actual value (x)

x = (a-min)/((max-min)/n)

Right?


Andreas

_______________________________________________
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


  • Follow-Ups:
    • Re: Current tick mark index of NSSlider?
      • From: Glen Simmons <email@hidden>
References: 
 >Current tick mark index of NSSlider? (From: Glen Simmons <email@hidden>)

  • Prev by Date: iCal alarms
  • Next by Date: Re: Renaming files?
  • Previous by thread: Current tick mark index of NSSlider?
  • Next by thread: Re: Current tick mark index of NSSlider?
  • Index(es):
    • Date
    • Thread