Re: NSTextField text input
Re: NSTextField text input
- Subject: Re: NSTextField text input
- From: Scott Mitchell <email@hidden>
- Date: Fri, 11 Nov 2005 08:22:09 -0700
Oh... how did I miss that. Thanks exactly what I was looking for.
Thanks,
Scott Mitchell
Macintosh Software Engineer
Excelsior Software
http://www.excelsiorsoftware.com
On Nov 9, 2005, at 12:52 PM, j o a r wrote:
On 9 nov 2005, at 20.41, Scott Mitchell wrote:
I am trying to find a way to solve this problem I have. I have
several NSTextFields in some NSPanel's. And when text is entered
in these NSTextFields we have a button that should become active (
i.e 'Save' button). But the problem is that I can not check to
see if there text is in there until the user actually leaves that
field, by hitting tab or enter. In OS 9 and below we could always
check to see how much text is in a text field at anytime, not just
when the user was done editing. I would like to be able to
check as the user types and activate the button as needed.So my
question is, is there a Notification that is sent after after
Keystroke
is entered into a NSTextField? That would be the ideal way to solve
this problem.I have looked through the doc's but can not
seem to find anything like this. I know that there has to be a way to
do this as I have seen this happen in other applications.
Check NSControl, and "controlTextDidChange:".
j o a r
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden