• 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: Direct use of NSScroller?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Direct use of NSScroller?


  • Subject: Re: Direct use of NSScroller?
  • From: "Clark Cox" <email@hidden>
  • Date: Thu, 2 Oct 2008 15:07:19 -0700

On Thu, Oct 2, 2008 at 2:10 AM, chaitanya pandit <email@hidden> wrote:
> How about using a NSSlider?

NSSlider is the wrong control for this job. A slider is for adjusting
a single numerical value, not for scrolling through a list of data.

>
> On 02-Oct-08, at 7:43 AM, James Walker wrote:
>
>> Is it possible to use a scroller without a scroll view?  The first problem
>> is that IB won't let me create an NSScroller that is not embedded in an
>> NSScrollView.  I guess I could shrink down the NSScrollView so that you only
>> see the one scroll bar.  Then the next problem would be how to set the
>> current value.  I see the method setFloatValue:knobProportion:, which I
>> guess would set the current value.  But this method is marked deprecated in
>> 10.5, with no explanation of why it's deprecated or what one should do
>> instead.


--
Clark S. Cox III
email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Direct use of NSScroller? (From: James Walker <email@hidden>)
 >Re: Direct use of NSScroller? (From: chaitanya pandit <email@hidden>)

  • Prev by Date: Re: Conditional mouseDownCanMoveWindow for NSView?
  • Next by Date: Re: Re-inserting deleted objects
  • Previous by thread: Re: Direct use of NSScroller?
  • Next by thread: Re: Direct use of NSScroller?
  • Index(es):
    • Date
    • Thread