home *** CD-ROM | disk | FTP | other *** search
- unit jviewu2;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls,
- Forms, Dialogs, StdCtrls;
-
- type
- TForm2 = class(TForm)
- Label1: TLabel;
- Button1: TButton;
- procedure Button1Click(Sender: TObject);
- procedure FormClose(Sender: TObject; var Action: TCloseAction);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- Form2 : TForm2;
- bAbort : boolean;
-
- implementation
-
- {$R *.DFM}
-
- // -----------------------------------------------------------------------
-
- procedure TForm2.Button1Click(Sender: TObject);
-
- begin
- bAbort := true;
- end;
-
- // -----------------------------------------------------------------------
-
- procedure TForm2.FormClose(Sender: TObject; var Action: TCloseAction);
-
- begin
- bAbort := true;
- end;
-
- // -----------------------------------------------------------------------
-
- end.
-