• 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
capturing a double-click on a control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: capturing a double-click on a control
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Force authentication with NSURLConnection
  • Next by Date: Re: Force authentication with NSURLConnection
  • Previous by thread: Re: How to make NSTreeController expand some items
  • Next by thread: Re: capturing a double-click on a control
  • Index(es):
    • Date
    • Thread