Autor Beitrag
mtm
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64

Windows 10 Pro 64 Bit
Delphi XE 6
BeitragVerfasst: Mo 02.01.12 18:19 
Hallo zusammen,

ich bin gerade dabei mir einen Dialog zusammenzuzimmern, in dem ich ein oder mehrere Verzeichnisse auswählen kann.

Im Prinzip könnte ich da ja die TShellTreeView-Komponente benutzen, aber leider gibt es da kein Multiselect.
Kennt jemand von Euch eine entsprechende Komponente, bzw. eine Möglichkeit TShellTreeView das Multiselect beizubringen. Ich wollte jetzt das Rad nicht unbedingt nochmal erfinden.

Danke im Voraus
mtm
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19338
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 02.01.12 19:38 
Du kannst die VirtualTrees nehmen. Mit der TVirtualStringTree geht das relativ einfach.

Du speicherst zu jedem Knoten einfach das dazugehörige Verzeichnis und füllst beim Aufklappen eines Knotens jeweils die Unterverzeichnisse in die Knoten. Auf diese Weise ist das ganze sehr schnell. Und Multiselect kann die Komponente natürlich auch.
mtm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64

Windows 10 Pro 64 Bit
Delphi XE 6
BeitragVerfasst: Di 03.01.12 11:42 
Ich werd's mal damit probieren. Danke für den Tip.