• 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: 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

  • Follow-Ups:
    • Re: NSTextField text input
      • From: Scott Mitchell <email@hidden>
    • Re: NSTextField text input
      • From: Douglas Davidson <email@hidden>
References: 
 >NSTextField text input (From: Scott Mitchell <email@hidden>)

  • Prev by Date: NSTextField text input
  • Next by Date: Re: NSThread call back...
  • Previous by thread: NSTextField text input
  • Next by thread: Re: NSTextField text input
  • Index(es):
    • Date
    • Thread