Skip navigation.
 
mlRe: check for Tab key pressed
FROM : John C. Randolph
DATE : Mon Nov 22 20:57:56 2004

On Nov 20, 2004, at 1:51 PM, <email_removed> 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_removed>> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html

Related mailsAuthorDate
mlcheck for Tab key pressed alex Nov 20, 22:51
mlRe: check for Tab key pressed John C. Randolph Nov 22, 20:57
mlRe: check for Tab key pressed Allan Odgaard Nov 23, 01:07