Re: When do bound objects get updated?
Re: When do bound objects get updated?
- Subject: Re: When do bound objects get updated?
- From: mmalcolm crawford <email@hidden>
- Date: Fri, 16 Jul 2004 08:05:03 -0700
On Jul 16, 2004, at 7:30 AM, Glenn Andreas wrote:
Be sure to check the box labeled "Continuously Updates Value" in the
bindings inspector panel for the text field. Without that, the new
value gets sent only when editing is ended by tabbing out of the
field, pressing the return/enter key, or otherwise sending focus to
some other part of the interface like when you click on the table.
Of course, if you do this, your undo mechanism can get ugly, since
every keystroke then becomes a change.
If you're in this situation, you can typically use something like
textShouldBeginEditing: and textShouldEndEditing: to begin and end an
undo group...
mmalc
_______________________________________________
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.