Re: NSTextView question
Re: NSTextView question
- Subject: Re: NSTextView question
- From: Rudi Sherry <email@hidden>
- Date: Fri, 17 Mar 2006 09:35:39 -0800
Thanks! That did it -- that's the easy solution I knew was in there
somewhere!
On Mar 17, 2006, at 12:32 AM, Heinrich Giesen wrote:
On 17.03.2006, at 00:18, Ricky Sharp wrote:
I'm going to set the window controller to be the textField delegate
and see if textDidEndEditing is called at any time; other than that,
any suggestions?
try this:
- (void) clickFromButton:sender
{
// window is the window that contains the textField
[window endEditingFor:nil];
// get the string from the textField something like
str = [mTextField stringValue];
// rest of the action
}
--
Heinrich Giesen
email@hidden
_______________________________________________
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