Bindings alert issue

2008-11-11 Thread Jim Thomason
Here's a peculiar little case that I hope is easy to resolve. Here's the case I ran into: I had bound an NSTextField to an attribute of an object. The interface at that point implied that the user could update the value in that field, then immediately click a button to perform an action. The

Re: Bindings alert issue

2008-11-11 Thread Ashley Clark
If you want to make sure that the validation error is bound to the window regardless of how commitEditing is implemented you need to call commitEditingWithDelegate:didCommitSelector:contextInfo: and then in the method you pass in as the didCommitSelector you can check to see if there were

Re: Bindings alert issue

2008-11-11 Thread Quincey Morris
On Nov 11, 2008, at 17:21, Ashley Clark wrote: If you want to make sure that the validation error is bound to the window regardless of how commitEditing is implemented you need to call commitEditingWithDelegate:didCommitSelector:contextInfo: and then in the method you pass in as the