Re: NSTextField Question
Re: NSTextField Question
- Subject: Re: NSTextField Question
- From: Daryn <email@hidden>
- Date: Tue, 26 Nov 2002 22:55:05 -0600
On Tuesday, November 26, 2002, at 10:33 PM, Tom Gray wrote:
On an invalid response (I return NO from this method) I would like to
select all of the text in the NSTextField. I believe I should use this
method to do that:
[myNSTextField selectText: (id)sender];
However, what the heck (in this case) is (id)sender? In other words, I
can't seem to figure out how to select all of the text in the text
field from within my delegate method.
The sender is typically whatever object initiated the message. You can
also just pass nil though.
Daryn
_______________________________________________
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.