Tag auch
mit der Eigenschaft Options[...,
ofAllowMultiSelect,...] kann der user mehrere files auswählen (einfach im objektinspektor auf true setzen). die Dateien findest du in der eigenschaft
Files vom typ TStrings. dort sind alle Dateiens (mit pfad) aufgelistet die der user ausgewählt hat (für jede Zeile ein Pfad). die zuletzt ausgewählte Datei steht dabei in zeile 1 (also Files[0] dieser eintrag entspricht dabei automatisch der eigenschaft
FileName)
Quelltext
1:
| ListBox1.Items.AddStrings(OpenDialog1.Files); |