Re: scroll view & drop-n-drag
Re: scroll view & drop-n-drag
- Subject: Re: scroll view & drop-n-drag
- From: Douglas Norton <email@hidden>
- Date: Sat, 21 Jun 2003 09:50:32 +0100
b,
>
Does anyone know how to make a scroll view scroll the hidden document
>
view into view as the drag event goes outside the border of the scroll
>
view? Is there some mechanism built in to do this? The behavior
>
should be that the scroll speed is directly related to how far beyond
>
the bounds the drag event goes--the further out the drag, the faster
>
the document scrolls into view, and the closer the slower.
Once you move the drag object outside of the bounds of the (candidate for)
drag recipient, the recipient should never respond to the drag any more.
Suppose you had three scroll views and you moved your drag over all three,
they would all be scrolling at once, and at different speeds. Not pleasant.
What you need to do is hover with the drag just inside the border of your
scroll view, this should then scroll the view as you desire.
Douglas
_______________________________________________
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.