• 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
Send action on end editing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Send action on end editing


  • Subject: Send action on end editing
  • From: Ivan C Myrvold <email@hidden>
  • Date: Tue, 11 Oct 2005 14:33:51 +0200

I have an NSTableView, where I want an action to be sent when I have finished editing the third column from left.
So in my windowDidLoad method, I have this:


NSTableColumn *antcolumn = [[myTable tableColumns] objectAtIndex:2];
[[antcolumn dataCell] setAction:@selector(myAction:)];
[[antcolumn dataCell] setTarget:self];
[[antcolumn dataCell] setSendsActionOnEndEditing:YES];

Now, the action is sent when i doubleclick the cell in the NSTableView, and not when I have finished editing it?
Shouldn't the setSendsActionOnEndEditing:YES take care of that?


Ivan
_______________________________________________
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


  • Prev by Date: -observeValueForKeyPath:ofObject:change:context: only defined for abstract class. Runtime error
  • Next by Date: Re: NSButtonCell subclass that ignores events
  • Previous by thread: Re: -observeValueForKeyPath:ofObject:change:context: only defined for abstract class. Runtime error
  • Next by thread: NSAllowsNullArgument undefined?
  • Index(es):
    • Date
    • Thread