• 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: scroll view & drop-n-drag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >scroll view & drop-n-drag (From: Anthony Arthur <email@hidden>)

  • Prev by Date: Re: Opening previous document by default
  • Next by Date: Re: Best way to play a legacy "SystemSound" file in Cocoa?
  • Previous by thread: Re: scroll view & drop-n-drag
  • Next by thread: Bundle not loading
  • Index(es):
    • Date
    • Thread