TextField textdidchange
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.