• 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
Re: NSSearchField and Key detection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSearchField and Key detection


  • Subject: Re: NSSearchField and Key detection
  • From: Aki Inoue <email@hidden>
  • Date: Tue, 27 May 2008 12:22:48 -0700

You can do the same with any NSControl subclasses.

See - control:textView:doCommandBySelector:.

Aki

On 2008/05/27, at 12:00, Chris & Dawn Kunicki wrote:

I have a NSSearchField and I am trying to detect when the user presses the down arrow key to perform a specific action. This is no problem in NSTextView with doCommandBySelector.

Is there a similiar way with NSSearchField?

Thanks for your help.
_______________________________________________

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

_______________________________________________

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


References: 
 >NSSearchField and Key detection (From: Chris & Dawn Kunicki <email@hidden>)

  • Prev by Date: Re: DO problems
  • Next by Date: Re: assignment in if clause
  • Previous by thread: NSSearchField and Key detection
  • Next by thread: NSNotificationCenter: addObserver:selector:name:object: - Specifying a single event
  • Index(es):
    • Date
    • Thread