• 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: Key events in NSTextField - Nevermind
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Key events in NSTextField - Nevermind


  • Subject: Re: Key events in NSTextField - Nevermind
  • From: Todd Blanchard <email@hidden>
  • Date: Wed, 30 May 2001 11:14:43 -0700

OK, I remember how this works today. So you don't have to answer it.
The key is to not let the field become first responder because it will then
start greedily grabbing all key events itself in a sort of modal way.

Sorry - it was late.

On Tuesday, May 29, 2001, at 10:08 PM, Todd Blanchard wrote:

I've subclassed NSTextField to create NSTalkingTextField.
On acceptFirstResponder I announce the name of the field and its contents
using the Speech facility in Carbon. This is working fine.

I also want to announce keys as they are typed - so I override keyDown:.
This apparently never gets called. So how does the thing respond to typing?

Thanks
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >Key events in NSTextField (From: Todd Blanchard <email@hidden>)

  • Prev by Date: Re: Help doesn't work
  • Next by Date: Re: Space Required By Text
  • Previous by thread: Key events in NSTextField
  • Next by thread: Getting Alert sound preference
  • Index(es):
    • Date
    • Thread