On 2004-12-17, at 10.30, Geert B. Clemmensen wrote:
I have a subclassed NSControl that among other things hold a
NSTexFieldCell (textCell). When editing of the the cell, using the
standard field editor, is ended, this textDidEndEditing: method gets
invoked:
The spooky part, or at least so I believe, is the [e setString:@""]
call, i.e. the field editor contents is supposedly cleared, BUT the
textCell's string value is ALSO cleared (actually it is set to the
same value as the field editor is set to). Here is NSLog output
(editing the text cell twice)
First of all, why do you reset the value of the field editor?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden