• 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
Keyboard events in an NSTextEntry
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Keyboard events in an NSTextEntry


  • Subject: Keyboard events in an NSTextEntry
  • From: Kyle Wheeler <email@hidden>
  • Date: Thu, 28 Mar 2002 15:49:14 -0500

Hello,

I have an NSTextEntry (in an NSWindow) that I need to intercept some keystrokes for - specifically, I want to intercept '=' and num-lock and handle them myself (simulate clicking on specific buttons) but let the rest of them go to the NSTextEntry. I've looked in the documentation and online and there's no good, simple, example... can someone help me out?

I tried setting 'keyboard equivalents' in Interface Builder but that doesn't seem to do anything (and won't let me intercept the num-lock button).

Any help is much appreciated!

~Kyle Wheeler
--
Time goes, you say? Ah no! Time stays, *we* go.
-- Austin Dobson
_______________________________________________
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.

  • Follow-Ups:
    • Re: Keyboard events in an NSTextEntry
      • From: Timothy Ritchey <email@hidden>
  • Prev by Date: idle waste
  • Next by Date: Re: check out the spreadsheet control
  • Previous by thread: Re: idle waste
  • Next by thread: Re: Keyboard events in an NSTextEntry
  • Index(es):
    • Date
    • Thread