who is putting up this dialog?
who is putting up this dialog?
- Subject: who is putting up this dialog?
- From: matt neuburg <email@hidden>
- Date: Sat, 20 Dec 2003 08:09:40 -0800
The dialog, when I enter a non-number in this text field, reads:
Alert
Invalid number
Buttons: Discard changes / OK
The text field that causes this dialog has an NSNumberFormatter, and it is
also bound thru an NSObjectController to an NSNumber value.
If I remove the binding, but leave the NSNumberFormatter in place, the dialog
does *not* appear.
If I remove the NSNumberFormatter but leave the binding in place, the dialog
does *not* appear.
So what exactly causes the dialog? I don't see how to customize or prevent the
dialog because I don't know who is putting it up. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide! NOW SHIPPING...! (Finally.)
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.