Re: Using control:didFailToFormatString:errorDescription:

2008-09-09 Thread Matt Neuburg
On Tue, 9 Sep 2008 12:10:10 +1000, Rohan Lloyd <[EMAIL PROTECTED]> said: > >On 9 Sep 2008, at 12:48 AM, Matt Neuburg wrote: > >> On Mon, 8 Sep 2008 11:23:30 +1000, Rohan Lloyd > [EMAIL PROTECTED]> said: >>> I don't like the vague "Format Error" and want to display my own >>> message, so I've writte

Re: Using control:didFailToFormatString:errorDescription:

2008-09-08 Thread Rohan Lloyd
On 9 Sep 2008, at 12:48 AM, Matt Neuburg wrote: On Mon, 8 Sep 2008 11:23:30 +1000, Rohan Lloyd [EMAIL PROTECTED]> said: I don't like the vague "Format Error" and want to display my own message, so I've written my own control:didFailToFormatString:errorDescription: method (In my NSWindowControll

Re: Using control:didFailToFormatString:errorDescription:

2008-09-08 Thread Matt Neuburg
On Mon, 8 Sep 2008 11:23:30 +1000, Rohan Lloyd <[EMAIL PROTECTED]> said: >I don't like the vague "Format Error" and want to display my own >message, so I've written my own >control:didFailToFormatString:errorDescription: method (In my >NSWindowController subclass), and set the text field delegate t

Using control:didFailToFormatString:errorDescription:

2008-09-07 Thread Rohan Lloyd
I have a sheet with some text fields. The values of the textFields are bound to an NSObjectController. One of the text fields has an NSNumberFormatter, restricting it to numeric input. If I type a random string (not a number) in, and tab out of the field, I get the standard "Format error