NSSlider with mouseUp
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