Al,
That was what my thinking was leading to. It’s a bit messy though. What I
really need to do is somehow track the movement of the dragged object from
an object event as opposed to tracking it via the container you drag it
over. 

Unfortunately once in drag/drop mode the object becomes unavailable as far
as any other events are concerned. I guess I could write my own equivalent
of drag/drop using an outline container and use the mousemove event to
initiate the scroll.

Dave Crozier


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Allen
Sent: 14 February 2008 13:53
To: [email protected]
Subject: RE: Inspiration Required

quick thought
Timer and mouse in/out. Also look for the position on the scrollbar to make
the up/down slow/fast ?
Allen 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Crozier
Sent: 04 February 2008 13:19
To: [EMAIL PROTECTED]
Subject: Inspiration Required

Guys,
I need a little inspiration here.

Problem: 
Using Drag/Drop to drag a container around inside an underlying container. I
have scroll bass in the underlying container and when I drag the object over
the scroll bars the underlying container scrolls no problem by putting code
in the DRAGOVER() event in the underlying container.. However, I want the
underlying container to continue the scroll as long as I keep the object
over the scroll bar. I am using VFP drag/drop events not the OLE Drag/Drop.

What happens at the moment is that the underlying container scrolls but only
one fixed amount until the object is moved out of its borders and back in,
when it scrolls again. Having to move the object around to continue
scrolling is a pain and I can’t think of an immediate solution at present. I
can't trap any events in the dragged object as it is in Drag Mode and
effectively dead, so it needs to be done on the objects that are passed over
i.e the scroll bars.

Any ideas?

I’ll try and put a small demo up on the website if anyone wants to see the
problem first hand.

Dave Crozier
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.4/1277 - Release Date: 13/02/2008
20:00
 



[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to