Autor Beitrag
raven
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 54



BeitragVerfasst: Sa 08.02.03 13:52 
hi leutz!

ich hab folgendes prob ...
ich benutze diesen code:

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
procedure TForm2.BitBtn1Click(Sender: TObject);
begin
  status2.max := form1.filebox.Items.count*8;
  j:=0;
  for k := 0 to form1.filebox.Items.count - 1 do
  begin
    zahl := 0;
    status1.max := 8;
    status1.Position := 0;
    log.lines.add('lala');
    while zahl < 8 do
    begin
      wipefile2(form1.filebox.Items.Item[k].SubItems.Strings[3]);
      wipefile(form1.filebox.Items.Item[k].SubItems.Strings[3]);
    end;
     deletefile(form1.filebox.Items.Item[k].SubItems.Strings[3]);
  end;
end;


wipefile und wipefile2 sind funktionen zum überschreiben von dateien ... das prob is nur das die zeilen LALA erst in das richeditfeld(LOG) eingefügt werden wenn die schleife zuende is ... kann mir einer sagen was ich da mchen kann?

danke[/b]
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Sa 08.02.03 13:56 
Füge mal nach der Zeile mit dem Lala den Code "Application.ProcessMessages;" ein. Könnte was bringen.

MfG,
Peter

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
raven Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 54



BeitragVerfasst: Sa 08.02.03 14:56 
danke ;) nu gehts perfect;)