Re: NSTextField delegate
Re: NSTextField delegate
- Subject: Re: NSTextField delegate
- From: email@hidden
- Date: Tue, 18 Feb 2003 12:50:19 +0000
I hit send too soon...
urghh... archives gave me this
For a NSTextField, you have to use controlTextDidChange: instead
John.
John.MacNamara@eontec
.com To: email@hidden
Sent by: cc:
cocoa-dev-admin@lists Subject: NSTextField delegate
.apple.com
18/02/2003 12:44
I was trying to add a delegate to an NSTextField in java, and I was unable
to do so...
I added the NSTextField to the window.
I connect the NSTextField's delegate outlet to my controller.
I implement the delegate method (in this case the TextDidChange method)...
all it does is: System.out.println("message");
I thought this was just a java issue, so I created a temp project to do the
same using objective-c and I was unable to get it to work there either...
I have had no difficulty in doing this with an NSTableView (both delegate
and datasource)
Where are am I going wrong?
Thanks.
John.
_______________________________________________
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.
_______________________________________________
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.