• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView Cell edit values.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView Cell edit values.


  • Subject: Re: NSTableView Cell edit values.
  • From: Corbin Dunn <email@hidden>
  • Date: Wed, 25 Feb 2009 13:29:58 -0800


On Feb 25, 2009, at 12:14 PM, Totte Alm wrote:

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

I'd suggest debugging in Xcode and figuring out what the bt is when your setObjectValue is called, and what is making that happen. It should be the resigning of the first responder for the field editor.


corbin
_______________________________________________

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


  • Follow-Ups:
    • Re: NSTableView Cell edit values.
      • From: Totte Alm <email@hidden>
References: 
 >NSTableView Cell edit values. (From: Totte Alm <email@hidden>)
 >Re: NSTableView Cell edit values. (From: Corbin Dunn <email@hidden>)
 >Re: NSTableView Cell edit values. (From: Totte Alm <email@hidden>)

  • Prev by Date: Re: Running Cocoa applications from file servers
  • Next by Date: IKFilterUIView binding?
  • Previous by thread: Re: NSTableView Cell edit values.
  • Next by thread: Re: NSTableView Cell edit values.
  • Index(es):
    • Date
    • Thread