home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 January / Chip_2000-01_cd.bin / zkuste / Delphi / nastroje / browutil.exe / COMPNT / SHOWIMG.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1999-07-25  |  614 b   |  34 lines

  1. unit ShowImg;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls, ExtCtrls, DBCtrls, DB;
  8.  
  9. type
  10.   TFrmShowImage = class(TForm)
  11.     PnlMemo: TPanel;
  12.     SrcMemo: TDataSource;
  13.     DBImage1: TDBImage;
  14.     procedure FormClose(Sender: TObject; var Action: TCloseAction);
  15.   private
  16.     { Private declarations }
  17.   public
  18.     { Public declarations }
  19.   end;
  20.  
  21. var
  22.   FrmShowImage: TFrmShowImage;
  23.  
  24. implementation
  25.  
  26. {$R *.DFM}
  27.  
  28. procedure TFrmShowImage.FormClose(Sender: TObject; var Action: TCloseAction);
  29. begin
  30.   Action := caFree;
  31. end;
  32.  
  33. end.
  34.