• 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: Scott F Bayes <email@hidden>
  • Date: Wed, 29 Aug 2007 10:38:57 +0900


On Aug 29, 2007, at 00:46 , Randall Meadows wrote:

I have a custom view inside an NSScrollView. When I drag the scroll bar, the view scrolls appropriately. When I click in the empty space beside the scroll bar, the view scrolls appropriately. When I click on the scroll arrows, they highlight, but the view does NOT scroll. At all, neither by clicking nor clicking-and-holding.

BTW, the scrollview is NOT a subclass, mouseDown: is NOT overridden. The custom child view DOES have custom mouseDown: and keyDown: methods, and they respond appropriately. The scroll view is not focusable and does not handle key events.

I have also tried "Move To Front" in IB on the scroll view; it made no difference.

The entire thing *used* to work appropriately. What could I have possibly done to fubar only *part* of the scroller?


Are you sure Line Amount (relevant to your problem) and Page Context are set properly in the Attributes pane of the NSScrollView inspector in IB? In Xcode 2.4.1/IB 2.5.4 my NSScrollView obeys these settings nicely, with no code/subclassing required.


ScottB

_______________________________________________

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: 
 >NSScrollerView Problem (From: Randall Meadows <email@hidden>)

  • Prev by Date: Re: NSXMLDocument freezes UI
  • Next by Date: NSXMLDocument Crashing
  • Previous by thread: NSScrollerView Problem
  • Next by thread: Re: NSScrollerView Problem
  • Index(es):
    • Date
    • Thread