| Line | |
|---|
| 1 | unit UFormDownloadProgress;
|
|---|
| 2 |
|
|---|
| 3 | {$mode objfpc}{$H+}
|
|---|
| 4 |
|
|---|
| 5 | interface
|
|---|
| 6 |
|
|---|
| 7 | uses
|
|---|
| 8 | Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
|
|---|
| 9 | ComCtrls, StdCtrls;
|
|---|
| 10 |
|
|---|
| 11 | type
|
|---|
| 12 |
|
|---|
| 13 | { TFormDownloadProgress }
|
|---|
| 14 |
|
|---|
| 15 | TFormDownloadProgress = class(TForm)
|
|---|
| 16 | Label1: TLabel;
|
|---|
| 17 | Label2: TLabel;
|
|---|
| 18 | LabelProgress: TLabel;
|
|---|
| 19 | LabelFileName: TLabel;
|
|---|
| 20 | ProgressBar1: TProgressBar;
|
|---|
| 21 | procedure FormCreate(Sender: TObject);
|
|---|
| 22 | private
|
|---|
| 23 | { private declarations }
|
|---|
| 24 | public
|
|---|
| 25 | { public declarations }
|
|---|
| 26 | end;
|
|---|
| 27 |
|
|---|
| 28 | implementation
|
|---|
| 29 |
|
|---|
| 30 | { TFormDownloadProgress }
|
|---|
| 31 |
|
|---|
| 32 | procedure TFormDownloadProgress.FormCreate(Sender: TObject);
|
|---|
| 33 | begin
|
|---|
| 34 | DoubleBuffered := True;
|
|---|
| 35 | ControlStyle := ControlStyle + [csOpaque];
|
|---|
| 36 | end;
|
|---|
| 37 |
|
|---|
| 38 | initialization
|
|---|
| 39 | {$I UFormDownloadProgress.lrs}
|
|---|
| 40 |
|
|---|
| 41 | end.
|
|---|
| 42 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.