• 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
NSSlider with mouseUp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSlider with mouseUp


  • Subject: NSSlider with mouseUp
  • From: "K. Darcy Otto" <email@hidden>
  • Date: Fri, 27 Mar 2009 21:39:01 -0700

I have a preferences window with an NSSlider control in it that has to update continuously in order to indicate just where the marker is on the scale. But, because of the relatively complex changes required when the slider is set, I only want to act on the slider settings when the slider has been released. I'm not sure the best way to do this. I have tried:

(i) Overriding mouseUp: in the view. The problem with this is that mouseUp is never called.

(ii) Subclassing NSSlider and overriding mouseUp. This gets closer. The problem with this is that the slider is not able to be moved (even though it is enabled in IBOutlet).

Any ideas would be greatly appreciated.
_______________________________________________

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 with mouseUp
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Embeded SQLite
  • Next by Date: Re: NSSlider with mouseUp
  • Previous by thread: Re: Storing API keys in plist file
  • Next by thread: Re: NSSlider with mouseUp
  • Index(es):
    • Date
    • Thread