Re: selectionShouldChangeInTableView example?
Re: selectionShouldChangeInTableView example?
- Subject: Re: selectionShouldChangeInTableView example?
- From: David Bainbridge <email@hidden>
- Date: Fri, 9 Jul 2004 11:20:08 -0500
After further checking I have found that this method IS called only IF
the text in the table cell has been modified. Simply double clicking
to edit the cell and then going to a different cell does not call this
method which is the smart thing to do anyways..
On Jul 7, 2004, at 2:32 PM, Todd Ransom wrote:
I think you want this method instead:
- (BOOL)control:(NSControl *)control textShouldEndEditing:(NSText
*)fieldEditor
TR
On Jul 7, 2004, at 1:05 PM, David Bainbridge wrote:
Does anyone have an example using the delegate method:
- (BOOL)selectionShouldChangeInTableView:(NSTableView *)aTableView
I am unable to figure out how to get the current text being editing in
the selected table cell to verify if it is acceptable when this method
is called. I've tried [aTableView currentEditor] which returns nil
and
[aTableView stringValue] which returns empty string.
Thanks for any help..
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.