[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getting Events of NSTextField
- Subject: getting Events of NSTextField
- From: Bill Cheeseman cheeseb@xxxxxxxxx
- Date: Sat, 06 Jan 2001 20:18:34 -0500
on 1/6/01 6:31 PM, Tom Woteki at drwo@xxxxxxxxxx wrote:
> However, the approach is well suited to
> overriding the behavior of the NSNumberFormatter class which as a default
> allows multiple inputs of a decimal point (period character).
>
> Bill: I stumbled on your tutorial on Omni. Kudos.
Thanks. A Recipe already written but yet to be published shows how to write
a very simple NSNumberFormatter subclass that allows only one decimal
separator per field (doing on-the-fly filtering of keystrokes).
-
Bill Cheeseman, Quechee, Vermont <mailto:cheeseb@xxxxxxxxx>
The AppleScript Sourcebook
<http://www.AppleScriptSourcebook.com/>
Vermont Recipes-A Cocoa Cookbook
<http://www.stepwise.com/Articles/VermontRecipes/>