• 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 and key-events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField and key-events


  • Subject: Re: NSTextField and key-events
  • From: Fritz Anderson <email@hidden>
  • Date: Sat, 21 Jun 2003 11:12:28 -0500

Have a look at the NSControl delegate method controlTextDidChange:. Make your controller a delegate of the NSTextField you want to provide feedback on.

You can do everything you want, and you don't have to subclass anything.

-- F


On Saturday, June 21, 2003, at 10:56 AM, Patrick Gundlach wrote:

Dear cocoa developers,

I am new to this list and new to cocoa development.

I'd like to create an interface with IB. My goal is to get an
NSTextField-alike field, where I get the keys the user types in before
he/she presses enter but with visual feedback. So something like the
search field in iTunes or Address Book. These applications act before
the user presses the enter key on the keyboard.

My first attempt was to create a subclass of NSTextField,
...

--
Fritz Anderson - Consulting Programmer - Chicago, IL
Mail: <email@hidden>
Risumi: <http://resume.manoverboard.org>
_______________________________________________
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 and key-events (From: Patrick Gundlach <email@hidden>)

  • Prev by Date: NSTextField and key-events
  • Next by Date: Re: NSTextField and key-events
  • Previous by thread: NSTextField and key-events
  • Next by thread: Re: NSTextField and key-events
  • Index(es):
    • Date
    • Thread