Autor Beitrag
stefanstp
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 106



BeitragVerfasst: Mi 23.10.02 19:58 
Mit

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
var
x:integer;
begin
for x:=0 to ShellListView1.Items.Count-1 do
begin
ShellListView1.Items.Item[x].Selected:=true;
end;


kann ich alles markieren. Aber da nimmt er auch die Ordner mit. Wie kann ich nur Dateien markieren?


Wer kann helfen? Besten Dank im Voraus!!!

STEFAN
FriFra
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 557

Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
BeitragVerfasst: Mi 23.10.02 22:49 
:D So gehts:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
var 
x:integer;
begin
  for x := 0 to ShellListView1.Items.Count - 1 do
  begin
    if FileExists(ShellListView1.Folders[x].PathName) then
      ShellListView1.Items[x].Selected := True;
  end;
end;
stefanstp Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 106



BeitragVerfasst: Do 24.10.02 07:31 
Titel: DANKE!
Werde ich doch gleich mal heute Abend ausprobieren! Danke für die schnelle Antwort!!!

STEFAN