DragandDrop files

DragandDrop files

Postby Silvio.Falconi » Thu Feb 14, 2013 12:23 pm

I make a test to draganddrop files
I used the Richedit class
I insert on this control some files but

I can show only the type of file and not the icon or the name of the file....


Image


I wish ask you some questions :

1. After we imported on a window a File sample xxxx.Doc
Can we Show the file with his icon and name on bottom as we can show it on file manager?
and if we click on this icon we can open the file with associate application ?

2. Can we saveall files we drag into this control in a folder to associate all to a record of a database ?
sample : all orders of a customer
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6919
Joined: Thu Oct 18, 2012 7:17 pm

Re: DragandDrop files

Postby Silvio.Falconi » Fri Feb 15, 2013 6:15 pm

Strange Scoop

I tried with the test sample called testrich.prg

I insert files pdf, image,doc, txt with drag and drop and the I save the file pressind savertf on this dialog

the procedure created a file of 4608 bytes, I open this file and I can show all object I insert it and the I can click on each object and show them...

How it is possible ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6919
Joined: Thu Oct 18, 2012 7:17 pm

Re: DragandDrop files

Postby Andrés González » Sun Aug 25, 2013 7:00 pm

Hi Silvio, could you say my the sample file you used for this sample o send me the source please. I want to do something like this.
Saludos

Andrés González desde Mallorca
User avatar
Andrés González
 
Posts: 628
Joined: Thu Jan 19, 2006 10:45 am
Location: Mallorca


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 47 guests