Autor Beitrag
HeftCD
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 91
Erhaltene Danke: 9

Win2k, WinXP, Win7, Win8
Delphi 3 Pro, Delphi 5, Delphi 7, Turbo Delphi, BC1
BeitragVerfasst: Mi 01.12.10 18:24 
Mhh, hallo,

ich hab mal eine Frage:
Zu Dateien auf eine Listboxziehen hba ich schon was auf SwissDelphi gefunden.
www.swissdelphicente.../showcode.php?id=493
mit der Funktion WM_DROPFILES

Allerdings müßte ich auch Ordner auf die Box ziehen (und in die Liste aufnehmen)

Kann mir jemand erklären, wie man das macht?
oder hat da schon was fertiges ?


Danke
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 01.12.10 18:50 
Wie meinst du das? Was funktioniert denn nicht?

Der Code funktioniert für Ordner ganz exakt genauso (mal abgesehen von der Prüfung mit FileExists natürlich, die Ordner ja genau ausschließt). :gruebel: