capturing a double-click on a control
capturing a double-click on a control
- Subject: capturing a double-click on a control
- From: Artemiy Pavlov <email@hidden>
- Date: Fri, 16 Mar 2007 22:35:45 +0200
Hello all!
I would like to know, how can I make my code respond to a double
click on a control like a slider?
For example, I have:
IBOutlet NSSlider * MySlider;
- (IBAction)iaMySliderDidSomething:(id)sender;
I connect these to the real slider in the Interface Builder, and I
then can read/write a value from/to the slider. But I would like to
reset it to some default value when the slider is double-clicked. How
would I go about doing so?
Thanks very much,
Artemiy.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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