Re: NSTableView Cell edit values.
Re: NSTableView Cell edit values.
- Subject: Re: NSTableView Cell edit values.
- From: Totte Alm <email@hidden>
- Date: Wed, 25 Feb 2009 21:14:23 +0100
Hello,
25 feb 2009 kl. 19.58 skrev Corbin Dunn:
Make the field editor resign first responder status; if it did
successfully do that, then the change was committed. If not, a
validation error happened. IE:
[self.window makeFirstResponder:tableView];
I might be doing this part wrong
This is the Action method involved
// ------------------------------------------
// doFlaggning
// ------------------------------------------
- (IBAction) doFlaggning:(id)sender
{
// Fix focus
[mWindow makeFirstResponder:mNameList];
[NSTimer scheduledTimerWithTimeInterval:kTestTime target:self
selector:@selector(realDoFlagging:) userInfo:nil repeats:NO];
}
The result is this from my logs.
2009-02-25 20:14:25.266 ABolag-III[52341:813] realDoFLagging
2009-02-25 20:14:25.433 ABolag-III[52341:813] setObjectValue called
// Totte
=============================================================
Why do programmers always mixup christmas and halloween?
OCT 30; Halloween
DEC 24; Christmas
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden