Skip to main content
I need to be able to add multiple files into Uniface from Windows explorer.

We have historically used filebox, but the limitation of this is it can only deal with one file at a time, which when you have 20-30 to upload, is a very tedious job.

I have read in the Uniface documentation that a (DRAGAND) DROPTARGET can accept files dragged from WIndows Explorer but as I've never used a drag and drop widget before I have no idea how to make this work, or if indeed this is possible. The documentation on drop targets is a bit sparse and doesn't give me any clues on where to start.

I did create a dummy field and tried to drag some explorer files over, but it just gives me a 'no entry' type symbol.

What do I need to do and what trigger does it fire on the field, as I obviously then need to loop through the results to process the individual files in.

Many thanks!

------------------------------
Toni Davenport
Uniface Community Edition Shared Account
US
------------------------------
I need to be able to add multiple files into Uniface from Windows explorer.

We have historically used filebox, but the limitation of this is it can only deal with one file at a time, which when you have 20-30 to upload, is a very tedious job.

I have read in the Uniface documentation that a (DRAGAND) DROPTARGET can accept files dragged from WIndows Explorer but as I've never used a drag and drop widget before I have no idea how to make this work, or if indeed this is possible. The documentation on drop targets is a bit sparse and doesn't give me any clues on where to start.

I did create a dummy field and tried to drag some explorer files over, but it just gives me a 'no entry' type symbol.

What do I need to do and what trigger does it fire on the field, as I obviously then need to loop through the results to process the individual files in.

Many thanks!

------------------------------
Toni Davenport
Uniface Community Edition Shared Account
US
------------------------------
Found the following in the Uniface Community Samples library:
It seems that the link to the mentioned article in the sample is outdated, but you can find it here: Drop it like it's hot.

I hope this helps.

------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
Found the following in the Uniface Community Samples library:
It seems that the link to the mentioned article in the sample is outdated, but you can find it here: Drop it like it's hot.

I hope this helps.

------------------------------
Daniel Iseli
Principal Technical Support Engineer
Uniface Services
Rocket Software, Switzerland
------------------------------
Thanks Daniel, that's just the job - works really well!

------------------------------
Toni Davenport
Uniface Community Edition Shared Account
US
------------------------------