Just a note,
The classes have a small "gotcha" if not used in VFP9 as there is a global
include file (foxpro.h) which it expects in the VFP 9 folder so just change
the "include file" reference in the classes if it is anywhere else.

Dave Crozier



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Dave Crozier
Sent: 14 February 2007 16:18
To: 'ProFox Email List'
Subject: OLE Drag Drop Classes

To All,
Following Malcolm’s (I think it was him or Michael and I apologise for not
remembering) post regarding OLE drag/drop in VFP onto PageFrames where he
wanted to flip over pages in the PageFrame when the OLE object was moved
over the PageFrame got an idea in my brain going.

Hence, I’ve investigated OLD drag/drop further as I’m also on the next stage
of the Organizer project that I’ve not touched for a few months. Apart from
the OLE Drag/Drop is just plain cool once you can get your head around it.

In the Organizer, I thought it would be nice to be able to use OLE drag/Drop
as opposed the right click drag drop method that I’ve always used in the
past so the demo is a result of this investigation and two classes that can
be used anywhere OLE Drag/Drop is required on grids or pageframes

All you need to do is drag/drop a class onto either a PageFrame or a grid
and this gives instant Drag/Drop without any coding.

Also on the PageFrame you get a “Hot Button” effect where the mouse can
simply be moved over the page tabs and the active page will be changed
automatically even when NOT drag/Dropping which is useful.

You can download the demonstration and classes from:

http://www.replacement-software.co.uk/vfp/OLE_Drag_Drop/VFP_OLE_Drag_Drop.zi
p

I’m going to blog about the development next week after I return from Italy
and the full classes should be finished then with a revamp of the Organizer
so you’ll have to wait until then to sample the finished product but I’m
about 90% of the way there with the OLE drag/drop.

As usual any comments/observations are welcome good or bad. I’ve lots of
additions to make regarding dragging from Explorer/Windows/ Word/Excel etc
into VFP but that will come later on.

Hope it is of use to the group.

Dave Crozier


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.17.39/686 - Release Date: 14/02/2007
07:54
 




[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
** 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