• 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: How to track Slider's value while dragging the mouse?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to track Slider's value while dragging the mouse?


  • Subject: Re: How to track Slider's value while dragging the mouse?
  • From: Greg Titus <email@hidden>
  • Date: Wed, 24 Sep 2008 07:13:18 -0700

Hi Oleg,

The property you want is setContinuous:YES, or check the "Continuous" checkbox in Interface Builder. (The method is defined on NSSilder's superclass, NSControl.)

Hope this helps,
	- Greg

On Sep 24, 2008, at 7:08 AM, Oleg Krupnov wrote:

NSSlider only changes its value (and fires its target/action and the
binding) when the user releases the mouse button.

Whereas I need to track the current value of the slider while the
mouse is being dragged, with the button held down -- like thumbnail
size in iPhoto.

I can't believe I have to implement my own slider to get this
behavior. Neither I can find the property of NSSlider that would make
it behave like this. Am I missing something?
_______________________________________________

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

_______________________________________________

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: 
 >How to track Slider's value while dragging the mouse? (From: "Oleg Krupnov" <email@hidden>)

  • Prev by Date: How to track Slider's value while dragging the mouse?
  • Next by Date: Re: Creating alias programatically
  • Previous by thread: How to track Slider's value while dragging the mouse?
  • Next by thread: Re: How to track Slider's value while dragging the mouse?
  • Index(es):
    • Date
    • Thread