home *** CD-ROM | disk | FTP | other *** search
- unit Replace;
-
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, StdCtrls, Buttons, ExtCtrls;
-
- type
- TReplaceDlg = class(TForm)
- imgQuestion: TImage;
- btnYes: TBitBtn;
- btnNo: TBitBtn;
- lblReplace: TLabel;
- lblWith: TLabel;
- lblOldFileName: TLabel;
- lblOldFileData: TLabel;
- lblNewFileName: TLabel;
- lblNewFileData: TLabel;
- btnYesToAll: TBitBtn;
- btnNoToAll: TBitBtn;
- procedure FormClose(Sender: TObject; var Action: TCloseAction);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- ReplaceDlg: TReplaceDlg;
-
- implementation
-
- {$R *.DFM}
-
- procedure TReplaceDlg.FormClose(Sender: TObject; var Action: TCloseAction);
- begin
- Action := caFree;
- end;
-
- end.
-