• 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
Re: When do bound objects get updated?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: When do bound objects get updated?
      • From: Glenn Andreas <email@hidden>
References: 
 >When do bound objects get updated? (From: Darren Ford <email@hidden>)
 >Re: When do bound objects get updated? (From: Larry Fransson <email@hidden>)
 >Re: When do bound objects get updated? (From: Glenn Andreas <email@hidden>)

  • Prev by Date: creating an NSTableColumn
  • Next by Date: getting a cell value [was: creating an NSTableColumn}
  • Previous by thread: Re: When do bound objects get updated?
  • Next by thread: Re: When do bound objects get updated?
  • Index(es):
    • Date
    • Thread