Autor Beitrag
cromos
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 219


Delphi 7
BeitragVerfasst: Do 22.04.04 11:28 
Hallo ich möchte eine Progressbar anzeigen wenn ich via FTP eine Datei Up- oder Downloade.

Aber irgendwie klappt das nicht.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
procedure TForm1.IdFTP1WorkBegin(Sender: TObject; AWorkMode: TWorkMode;
  const AWorkCountMax: Integer);
begin
    pg1.Max := AWorkCountMax;
    pg1.Position := 0;
end;

procedure TForm1.IdFTP1Work(Sender: TObject; AWorkMode: TWorkMode;
  const AWorkCount: Integer);
begin
      pg1.position := AWorkCount;

end;


Ein idAntiFreeze habe ich auch auf der Form, also kann es daran nicht liegen.
Weiss jemand einen Rat?

Gruss
Cromos
cromos Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 219


Delphi 7
BeitragVerfasst: Do 22.04.04 20:22 
Weiss denn niemand einen Rat???

:?
MAlsleben
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 303

W2k,WinXP
D3 - DXE3 Enterprise
BeitragVerfasst: Fr 23.04.04 10:21 
Hi,

hast Du dir mal die Demo von Indy zu FTP angeschaut, da ist soetwas realisiert.

Gruß Micha.

_________________
Viele Wege führen nach Rom.