• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Empty NSTextField from NSStepper
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Empty NSTextField from NSStepper


  • Subject: Empty NSTextField from NSStepper
  • From: Douglas Norton <email@hidden>
  • Date: Wed, 31 Oct 2001 17:03:50 +0000

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.


  • Prev by Date: Why the error?
  • Next by Date: I broke my windows and I don't know how to apologize to them :)
  • Previous by thread: Book
  • Next by thread: I broke my windows and I don't know how to apologize to them :)
  • Index(es):
    • Date
    • Thread