continuous slider
continuous slider
- Subject: continuous slider
- From: Devon E Bowen <email@hidden>
- Date: Sun, 11 Jan 2004 04:41:02 -0500 (EST)
An NSSlider can be made to deliver actions continuously or at the end
of its adjustment. I would like both. I want to update the effect in
my Preferences panel as the user adjusts but not send the final values
to the backend until it's finished.
I've checked for delegate methods but haven't found any that will let
me know when the control is finished. I have only found them for the
special case of an NSTextField. I also don't see any way I can ask an
NSSlider if it's currently "held".
Then I thought I could subclass NSSlider and catch the mouseDown and
mouseUp events. I could then just set a boolean to remember if it is
down or not. Then I would know if the control was "held" when a
particular action is delivered. But I only get mouseDown events. Never
a mouseUp.
Anyone have any ideas for doing this? Any help would be appreciated.
Devon
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.