Re: NSTextField and key-events
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.