Re: NSTextView question
Re: NSTextView question
- Subject: Re: NSTextView question
- From: Heinrich Giesen <email@hidden>
- Date: Fri, 17 Mar 2006 09:32:34 +0100
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