• 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: Capturing slider movement in NSSlider
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Capturing slider movement in NSSlider


  • Subject: Re: Capturing slider movement in NSSlider
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Tue, 9 Dec 2003 18:30:42 +0100

At 10:46 Uhr -0600 09.12.2003, Louis Sinclair wrote:
I have a need to send changing NSSlider values as it is being dragged.
I've subclassed NSSlider and implemented mouseDown, mouseUp,
mouseDragged, and mouseMoved.

I think you're doing something that's already being done for you. IIRC you can tell the slider to be "live" (or "continuous", or whatever the mot du jour is) in IB (or using an accessor), and it will send your action message as its slider is dragged. There shouldn't be a need to subclass anything to do that.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.
References: 
 >Capturing slider movement in NSSlider (From: Louis Sinclair <email@hidden>)

  • Prev by Date: Re: Capturing slider movement in NSSlider
  • Next by Date: Re: CGShading line, triangle?
  • Previous by thread: Re: Capturing slider movement in NSSlider
  • Next by thread: Multiple TableView data sources
  • Index(es):
    • Date
    • Thread