Type Property

prefersTrackingUntilMouseUp

Returns a Boolean value indicating whether the NSSliderCell continues to track the pointer until the next mouse up.

Declaration

@property(class, readonly) BOOL prefersTrackingUntilMouseUp;

Return Value

YES if the NSSliderCell continues to track the pointer even after it leaves the cell's tracking rectangle; otherwise, NO. By default, this method returns YES.

Discussion

If this method returns YES, users retain control of the knob until they release the mouse button, even if they drag the pointer to the other side of the screen.

You should not call this method explicitly. Override it if you create a subclass of NSSliderCell that should track the mouse differently.

See Also

Managing Cell Behavior

altIncrementValue

The amount by which the slider changes its value when the user Option-drags the knob.

trackRect

The rectangle within which the cell tracks the pointer while the mouse button is down.