home *** CD-ROM | disk | FTP | other *** search
- unit Status;
-
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, StdCtrls, Buttons, Gauges, ExtCtrls;
-
- type
- TStatusForm = class(TForm)
- Label1: TLabel;
- Label2: TLabel;
- Gauge1: TGauge;
- CancelBtn: TBitBtn;
- procedure CancelBtnClick(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- StatusForm: TStatusForm;
-
- implementation
-
- {$R *.DFM}
-
- procedure TStatusForm.CancelBtnClick(Sender: TObject);
- begin
- StatusForm.ModalResult := mrCancel;
- end;
-
- end.
-