Send action on end editing
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