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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to