• 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 text input
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSTextField text input (From: Scott Mitchell <email@hidden>)
 >Re: NSTextField text input (From: j o a r <email@hidden>)

  • Prev by Date: Re: -[NSURL path] returning empty string for relative file URL
  • Next by Date: Re: -[NSURL path] returning empty string for relative file URL
  • Previous by thread: Re: NSTextField text input
  • Next by thread: Newbie question: Where did I lose track?
  • Index(es):
    • Date
    • Thread