Re: NSSlider's mouseDown,mouseUp,mouseDrag - process separately
Re: NSSlider's mouseDown,mouseUp,mouseDrag - process separately
- Subject: Re: NSSlider's mouseDown,mouseUp,mouseDrag - process separately
- From: Nick <email@hidden>
- Date: Wed, 18 May 2011 18:15:18 +0300
thanks, it worked
2011/5/18 Gary L. Wade <email@hidden>:
> You could use [NSApp currentEvent] if you really want the event, but if
> you want to do something else while tracking the mouse, you might want to
> consider overriding NSCell method -startTrackingAt:inView: and those
> related to it.
>
> On 05/18/2011 4:00 AM, "Nick" <email@hidden> wrote:
>
>>Hello
>>
>>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?
>>Thank you
>
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden