home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 September / Chip_2001-09_cd1.bin / zkuste / delphi / nastroje / d5 / MFTP.ZIP / demo / ftppanel / confirm.pas < prev    next >
Pascal/Delphi Source File  |  2001-02-24  |  630b  |  39 lines

  1. unit confirm;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls, ExtCtrls;
  8.  
  9. type
  10.   TfrmConfirm = class(TForm)
  11.     Image1: TImage;
  12.     Label1: TLabel;
  13.     Button1: TButton;
  14.     Button2: TButton;
  15.     Button3: TButton;
  16.     procedure ButtonClick(Sender: TObject);
  17.   private
  18.     { Private declarations }
  19.   public
  20.     { Public declarations }
  21.   end;
  22.  
  23. var
  24.   frmConfirm: TfrmConfirm;
  25.  
  26. implementation
  27.  
  28. uses main;
  29.  
  30. {$R *.DFM}
  31.  
  32. procedure TfrmConfirm.ButtonClick(Sender: TObject);
  33. begin
  34.    frmMain.Tag := (Sender as TButton).Tag;
  35.    Close;
  36. end;
  37.  
  38. end.
  39.