• 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: Scrolling problem...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scrolling problem...


  • Subject: Re: Scrolling problem...
  • From: Brian Webster <email@hidden>
  • Date: Fri, 24 Jan 2003 09:30:21 -0600

On Friday, January 24, 2003, at 12:01 AM, email@hidden wrote:

BOOL didScroll = [scrollView scrollRectToVisible:NSMakeRect(0,
([contentView frame].size.height - 5), 5, 5)];

You should be calling scrollRectToVisible on the document view instead of the scroll view.

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: RE: A good method for xml usage/parsing
  • Next by Date: Re: Getting Image from Web and Displaying it problem
  • Previous by thread: Scrolling problem...
  • Next by thread: dragging from NSToolbar
  • Index(es):
    • Date
    • Thread