Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Empty NSTextField from NSStepper



I have a sheet containing, amongst others, an NSTextField and an NSStepper.

The two are interlinked in IB. The NSTextField takes the stringValue from
the NSStepper and the NSStepper takes the intValue from the NSStepper.

The NSTextField has a formatter to make it only hold the numbers 0 through
23. Similarly then min and max on the NSStepper are 0 and 23.

For single click operation, and manual typing, all is satisfactory, they
stay in step with each other.

However, when I hold the mouse down on the NSStepper, it auto repeats, which
is fine, but when I release the mouse, approximately 30% of the time the
NSTextField is blank or contains a ':' character.

Is this a known problem? Have I missed out something that should be keeping
things in step?

TIA

Douglas Norton
Softchaos Limited.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.