I use an OpenDialog with Multiselect enabled to allow more than one jpg file to be displayed on a screen. When the dialog is closed, I iterate through the Files list and create a delimited string of filenames which is stored in a memo field of an Access table.
If the user wants to edit the selection, I want to parse the delimited string value and put the filenames into the OpenDialog and have it displayed in the same way it was when they were first selected, however, the dialog only has one filename in the edit box of the form. When the dialog is closed, only this file is in the files list.
How do I re-populate the Files list? We are using Delphi XE on W7-10.
Also, is it possible to have the list "unsorted"? The files list returns filenames in a sorted order, there is no "sorted" property. I would like to be able to have the user select the files in the order they wish to display them. At the moment, sorting is done in a custom editing form that allows them to be dragged to position. This is written out to the delimited string and written to the table.