• 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: text field question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text field question


  • Subject: Re: text field question
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 23 Feb 2012 09:06:02 -0800

On Thu, Feb 23, 2012 at 5:24 AM, Michael Babin <email@hidden> wrote:
>> I have a panel with a number of text fields where a user should enter numeric values.  These text fields are setup with Sent on End Editing so that if the user presses enter or tabs or changes text fields the value will be entered.  The problem is sometimes a user just types in a value and that's it...no enter, no tab, no changing text fields and the value is never received.  How does everyone else handle this and what can you recommend?  Thanks,
>
> If you're using bindings, set the Continuously Updates Value flag of the Value binding on your text field.
>
> If you're not using bindings, implement the controlTextDidChange: method in the text field's delegate (if your text field doesn't have a delegate, set its delegate to the appropriate controller object).

Both of these will defeat Rick's desired goal of _not_ having the
values update until the user chooses to.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >text field question (From: "Rick C." <email@hidden>)
 >Re: text field question (From: Michael Babin <email@hidden>)

  • Prev by Date: Re: Was: Re: NSStepper - useless?
  • Next by Date: Re: 10.7 Auto Layout re-sizing question
  • Previous by thread: Re: text field question
  • Next by thread: Re: text field question
  • Index(es):
    • Date
    • Thread