• 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
continuous slider
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: continuous slider
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: NSObject description not working
  • Next by Date: help, objc_msgSend problems
  • Previous by thread: Custom NSView from IB Palette refuses to shrink
  • Next by thread: Re: continuous slider
  • Index(es):
    • Date
    • Thread