Skip to main content

Hi Unifacers,

I've got a request to let filebox instruction select multiple files in a single usage; AFAIK this functionality is NOT available.

Is there any tips / trick or suggestion on the argument?

Regards,
Gianni



------------------------------
Gianni Sandigliano
IT
------------------------------

Hi Unifacers,

I've got a request to let filebox instruction select multiple files in a single usage; AFAIK this functionality is NOT available.

Is there any tips / trick or suggestion on the argument?

Regards,
Gianni



------------------------------
Gianni Sandigliano
IT
------------------------------

Teeny tiny HTML widget with  a  'file'  input type button, with the multiple attribute set. Use javascript to capture the data and pass back out to the uniface component? 

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file

Not tried it practically yet. 
Iain

------------------------------
Iain Sharp
Head of Technical Services
Pci Systems Ltd
Sheffield GB
------------------------------

Hi Unifacers,

I've got a request to let filebox instruction select multiple files in a single usage; AFAIK this functionality is NOT available.

Is there any tips / trick or suggestion on the argument?

Regards,
Gianni



------------------------------
Gianni Sandigliano
IT
------------------------------

You can use the tree widget with the list of files using the command $dirlist/FILE.

------------------------------
Juliano Garcia
Suport Analyst
Coamo -Coop. Agropecuaria Mouraoense
Campo Mourão BR
------------------------------

Hi Unifacers,

I've got a request to let filebox instruction select multiple files in a single usage; AFAIK this functionality is NOT available.

Is there any tips / trick or suggestion on the argument?

Regards,
Gianni



------------------------------
Gianni Sandigliano
IT
------------------------------

If the file list is not too big, you can use the $dirlist/FILE command to read the files and the listbox widget and do to select multiple items/files.

------------------------------
Juliano Garcia
Suport Analyst
Coamo -Coop. Agropecuaria Mouraoense
Campo Mourão BR
------------------------------

Hi Unifacers,

I've got a request to let filebox instruction select multiple files in a single usage; AFAIK this functionality is NOT available.

Is there any tips / trick or suggestion on the argument?

Regards,
Gianni



------------------------------
Gianni Sandigliano
IT
------------------------------

Multi-select is currently not supported by the Uniface filebox instruction.
It is however possible to embed the Windows Common Dialog Control (comdlg32.ocx)
(C:\\Windows\\SysWOW64\\comdlg32.OCX)
in the Uniface OCX container and use its OpenFile dialog.
See also
https://answers.microsoft.com/en-us/windows/forum/games_windows_10/comdlg32ocx-in-windows-10/804ca1eb-1ee8-4b8c-afff-9bd09356ef7f
We used
C:\\WINDOWS\\system32>regsvr32 /u C:\\Windows\\SysWOW64\\comdlg32.OCX

Peter Beugel
Principal Technical Support Engineer
Rocket Software B.V.

------------------------------
Peter Beugel
Rocket Internal - All Brands
Amsterdam NL
------------------------------