Re: NSScrollView: General Question When does scrollRectToVisible does not scroll?
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