On 18/05/2011, at 9:00 PM, Nick wrote: > I have a slider, and i have set it "Continuous" checkbox in Interface > builder. Now its action method is fired on all of these events from > the e-mail title. > How can i know what exactly event happened (when - mouseDown, when > mouseUp and when - mouseDrag)? Is there a way?
You could probably use [NSApp currentEvent] from the slider's action. But why do you need this? The idea of a control is to abstract basic mouse gestures/events and turn them into a higher-level meaning within your app. Doing different things according to how the slider was clicked is going to act weirdly for the user. --Graham _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
