Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: jtempo
  Where is jtempo?
 San Francisco
 Argentina
 jtempo
 To: Paul Gibson
  Where is Paul Gibson?
 Glasgow
 United Kingdom
 Paul Gibson
 Tags
Subject: RE: DRAG SCROLL
Thread ID: 373493 Message ID: 373498 # Views: 54 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Classes and Objects
Date: Friday, March 22, 2013 4:01:16 PM         
   


> > Hi! How can implement drag scroll into a container like this with jquery (see demo on http://the-taylors.org/jquery.kinetic/) Thanks in advance!
>
> I would guess it is not easy to get the kind of momentum-based drag-scrolling that is evident on that page using VFPs standard controls. From what I can tell someone has built it into jquery so end-developers can use it fairly easily but you might not be so lucky in VFP.
>
> One thing that might help is Bernard's recent post about easing: Message ID: 371982 which defines how things are animated/moved.

I have a idea but I have no knowledge to write code when MouseDown get the xy position and MouseUp calculate xy position and move the contents of the container to the calculated position xy (actually, I would need two containers, one inside the other).
I'm looking a scrollbars classes to see the method to move position.
Sorry my bad english, I speak spanish.

ENTIRE THREAD

DRAG SCROLL Posted by jtempo @ 3/22/2013 3:02:53 PM
RE: DRAG SCROLL Posted by Paul Gibson @ 3/22/2013 3:46:28 PM
RE: DRAG SCROLL Posted by jtempo @ 3/22/2013 4:01:16 PM
RE: DRAG SCROLL Posted by llyrad atsituab @ 3/23/2013 2:32:08 AM
RE: DRAG SCROLL Posted by jtempo @ 3/23/2013 1:38:28 PM
RE: DRAG SCROLL Posted by Bernard Bout @ 3/24/2013 2:30:56 AM
RE: DRAG SCROLL Posted by jtempo @ 3/24/2013 6:25:39 PM