• 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: NSSlider's setAltIncrementValue: broken?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSlider's setAltIncrementValue: broken?


  • Subject: Re: NSSlider's setAltIncrementValue: broken?
  • From: Matt Neuburg <email@hidden>
  • Date: Thu, 03 Dec 2009 17:39:02 -0800
  • Thread-topic: NSSlider's setAltIncrementValue: broken?

On Thu, 3 Dec 2009 18:29:49 -0500, "Sean McBride" <email@hidden>
said:
>Hi all,
>
>The docs for NSSlider's setAltIncrementValue: say "Sets the amount by
>which the receiver modifies its value when the knob is Option-dragged".
>It does not.
>
>Anyone using this successfully?
>
>This was asked 4 years ago, almost to the day.  No replies:
><http://lists.apple.com/archives/cocoa-dev/2005/Dec/msg00316.html>
>
>I've noticed that since that post, IB no longer allows setting the value.
>
>My goal is to have a slider that can set values with some precision
>regardless of the on-screen size of the slider.  setAltIncrementValue
>would have helped (though it's not a very discoverable UI).

Isn't the problem just a documentation bug? setAltIncrementValue does work,
but it is about what happens when you option-click in the slider area, not
what happens when you drag the knob. Normally when you click in the slider
area, the slider jumps to where you clicked; with setAltIncrementValue, it
jumps the amount you set as the value (when you hold down the Option key and
click in the slider area). m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings



_______________________________________________

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

  • Follow-Ups:
    • Re: NSSlider's setAltIncrementValue: broken?
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: Text insertion point not blinking
  • Next by Date: Re: NSSlider's setAltIncrementValue: broken?
  • Previous by thread: NSSlider's setAltIncrementValue: broken?
  • Next by thread: Re: NSSlider's setAltIncrementValue: broken?
  • Index(es):
    • Date
    • Thread