• 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: NSTextField keypress question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField keypress question


  • Subject: Re: NSTextField keypress question
  • From: Edward Fink <email@hidden>
  • Date: Wed, 6 Nov 2002 19:12:23 -0500

Anyone have any ideas?

On Friday, November 1, 2002, at 09:32 PM, Edward Fink wrote:

How can I tell if the key combination of "ctrl g" was pressed in an
NSTextField?

To respond to some other key combinations I use:
- (BOOL)control:(NSControl *)control textView:(NSTextView *)textView
doCommandBySelector:(SEL)commandSelector

However, when <ctrl><g> is pressed...commandSelector is "noop:"...but
it is also that value for other key combinations....so I am unsure how
to distinguish.

Thanks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSTextField keypress question (From: Edward Fink <email@hidden>)

  • Prev by Date: Getting thumbnail of document to appear?
  • Next by Date: Re: How to encode STL vector
  • Previous by thread: NSTextField keypress question
  • Next by thread: Sending an AE to select all
  • Index(es):
    • Date
    • Thread