Drag and drop from a list field
Ken Ray
kray at sonsothunder.com
Wed Feb 28 02:02:02 EST 2007
On Tue, 27 Feb 2007 20:03:13 -0800, Bill Vlahos wrote:
> Ken's suggestion works for making a text clipping on the desktop with
> the both the name of the file and contents of the file whatever was
> in the line of the field being dragged.
>
> I need to intercept this and put something else in those places. In
> my case the field is a list of names each of which represents a data
> record (with multiple fields) but is not the complete data record in
> the list field. I want to collect and format a vCARD from the data
> base and have that be deposited as a vCARD on the desktop.
Well the first part is as easy as setting the dragData["text"] to the
vCard data you want to export... the second one is the hard one -
knowing where the file is going to end up so you can make sure the file
name is changed to ".vcf".
Any ideas anyone?
Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode
mailing list