• 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: NSScrollerView Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScrollerView Problem


  • Subject: Re: NSScrollerView Problem
  • From: Erik Buck <email@hidden>
  • Date: Tue, 28 Aug 2007 10:45:30 -0700 (PDT)

Ask yourself what those buttons on the scroll bar do?  They scroll line by line or page by page.  Now ask yourself, how does the framework know how far to scroll in order to scroll line by line ?  Is it possible that you have set the verticalLineScroll to zero or allowed it to remain zero ?  http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSScrollView_Class/Reference/Reference.html#//apple_ref/occ/instm/NSScrollView/lineScroll  lineScroll  Returns the vertical line scroll amount: the amount by which the receiver scrolls itself vertically when scrolling line by line, expressed in the content view’s coordinate system.
  - (float)lineScroll
  Discussion  This amount is used when the user clicks the scroll arrows on the vertical scroll bar without holding down a modifier key. As part of its implementation, this method calls verticalLineScroll.
  Note that a scroll view can have two different line scroll amounts: verticalLineScroll and horizontalLineScroll. Use this method only if you can be sure they’re both the same; for example, you always use setLineScroll:, which sets both amounts to the same value.
  Availability
   Available in Mac OS X v10.0 and later.
  See Also
   – setLineScroll:

   – verticalPageScroll

   – horizontalPageScroll

_______________________________________________

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

  • Follow-Ups:
    • Re: NSScrollerView Problem
      • From: Randall Meadows <email@hidden>
  • Prev by Date: Bindings and constraints question
  • Next by Date: Re: NSWindowDidChangeScreenProfileNotification not working
  • Previous by thread: Re: NSScrollerView Problem
  • Next by thread: Re: NSScrollerView Problem
  • Index(es):
    • Date
    • Thread