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

TextField textdidchange


  • Subject: TextField textdidchange
  • From: David Dauer <email@hidden>
  • Date: Sat, 25 Oct 2003 18:35:52 +0200

Hi

I have an NSTextField which takes its value from an NSStepper.
(takeStringValueFrom:)
Now i want to get notified when this happens.
Setting a delegate and using this:

- (void)controlTextDidChange:(NSNotification *)aNotification
{
if ([aNotification object] == myField)
{
NSLog(@"%@",[myField stringValue]);
}
}

Will only work when I type in the field manually.
Any suggestions?

David
_______________________________________________
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.

  • Follow-Ups:
    • Re: TextField textdidchange
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: keyDown events question
  • Next by Date: Re: cocoa-dev digest, Vol 2 #3077 - 18 msgs
  • Previous by thread: Re: keyDown events question
  • Next by thread: Re: TextField textdidchange
  • Index(es):
    • Date
    • Thread