• 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
Re: Rounding the output value while the slider is being moved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rounding the output value while the slider is being moved


  • Subject: Re: Rounding the output value while the slider is being moved
  • From: Artemiy Pavlov <email@hidden>
  • Date: Fri, 29 Sep 2006 17:08:35 +0300

Hello Hank, and thanks for the reply!

On 29 Sep 2006, at 4:57 PM, Hank Heijink wrote:

I would just put a number formatter on your textfield.

Uhm, I am not sure how I'd do that - is it in the docs for NSTextField?

Personally I would use bindings for a case like this -- it saves you from having to manually update the textfield when the slider is moved and vice versa.

Yes I know, but how would I go about to round the value then?


Yours,

Artemiy.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Rounding the output value while the slider is being moved
      • From: Hank Heijink <email@hidden>
References: 
 >Rounding the output value while the slider is being moved (From: Artemiy Pavlov <email@hidden>)

  • Prev by Date: Rounding the output value while the slider is being moved
  • Next by Date: Re: Rounding the output value while the slider is being moved
  • Previous by thread: Rounding the output value while the slider is being moved
  • Next by thread: Re: Rounding the output value while the slider is being moved
  • Index(es):
    • Date
    • Thread