• 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: check for Tab key pressed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: check for Tab key pressed


  • Subject: Re: check for Tab key pressed
  • From: "John C. Randolph" <email@hidden>
  • Date: Mon, 22 Nov 2004 11:57:56 -0800


On Nov 20, 2004, at 1:51 PM, email@hidden wrote:



How can i check for a Tab key press in a KeyDown: call for an NSView?


if ([[theEvent  characters] characterAtIndex:0] == NSTabCharacter)
    ...



-jcr

John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: check for Tab key pressed
      • From: Allan Odgaard <email@hidden>
References: 
 >check for Tab key pressed (From: email@hidden)

  • Prev by Date: Installing a font programmatically?
  • Next by Date: Re: Installing a font programmatically?
  • Previous by thread: check for Tab key pressed
  • Next by thread: Re: check for Tab key pressed
  • Index(es):
    • Date
    • Thread