• 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
"Validates immediately" validates some time later?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Validates immediately" validates some time later?


  • Subject: "Validates immediately" validates some time later?
  • From: Steven Kramer <email@hidden>
  • Date: Wed, 25 May 2005 07:18:38 +0200



Hi,

I have another classic case of "is it just me?". This time, I am validating a text field that has bindings established. Actually, not just one text field but many. These are date fields that check for correct month number etc. in appropriately named methods (validateMonth:error:)

The problem: the documentation on binding options and the name of the option suggest that validation messages are sent when editing ends (by pressing enter, tab, etc.) and, on top of that, on every keypress if this option is set.

What I am seeing is that validation is *never* performed if this option is not set, and when this option is set, it will be performed only after editing ends. So... is it just me?

http://developer.apple.com/documentation/Cocoa/Reference/ CocoaBindingsRef/Concepts/BindingsOptions.html#//apple_ref/doc/uid/ 20002304/187597

Regards,

Steven Kramer

--
email@hidden
http://www.sprintteam.nl/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: "Validates immediately" validates some time later?
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: setNeedsDisplay broken in Tiger
  • Next by Date: Palette and NSImage
  • Previous by thread: Re: Working set bloat in Xcode 2
  • Next by thread: Re: "Validates immediately" validates some time later?
  • Index(es):
    • Date
    • Thread