• 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: NSScrollView: General Question When does scrollRectToVisible does not scroll?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScrollView: General Question When does scrollRectToVisible does not scroll?


  • Subject: Re: NSScrollView: General Question When does scrollRectToVisible does not scroll?
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 25 Jun 2007 13:03:16 -0400

On 6/24/07, Georg Filios <email@hidden> wrote:
Sometimes, the scrolling doesn't work, and I dont understand why?
The documentation just states, the method return NO if no scrolling
was done.

What do you mean by "doesn't work"? Does the rect you're scrolling to not become visible or are you only relying on the return value of -scrollToRect:?

 The documentation also states, "Scrolls the receiver's closest
ancestor NSClipView object the minimum distance needed so a specified
region of the receiver becomes visible in the clip view."

 If -scrollToRect: results in a NO, then it didn't have to scroll to
make "rect" visible.

Does anyone has more detailed information, on what could cause
scrolling to fail!

Not without more detailed information from you ... however, again what do you consider failure?

// ==> success = NO (in certain cases)

... in *what* cases, specifically?

--
I.S.
_______________________________________________

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: 
 >NSScrollView: General Question When does scrollRectToVisible does not scroll? (From: Georg Filios <email@hidden>)

  • Prev by Date: Re: ObjC 3D engine
  • Next by Date: Re: int to NSString?
  • Previous by thread: NSScrollView: General Question When does scrollRectToVisible does not scroll?
  • Next by thread: Re: NSScrollView: General Question When does scrollRectToVisible does not scroll?
  • Index(es):
    • Date
    • Thread