Re: NSTextField text input
Re: NSTextField text input
- Subject: Re: NSTextField text input
- From: j o a r <email@hidden>
- Date: Wed, 9 Nov 2005 20:52:07 +0100
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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