VIEWWIN.PAS
上传用户:yuandong
上传日期:2022-08-08
资源大小:954k
文件大小:0k
源码类别:

Delphi控件源码

开发平台:

C++ Builder

  1. unit ViewWin;
  2. interface
  3. uses
  4.   SysUtils, Windows, Messages, Classes, Graphics, Controls,
  5.   Forms, Dialogs, ExtCtrls;
  6. type
  7.   TViewForm = class(TForm)
  8.     Image1: TImage;
  9.     procedure Image1Click(Sender: TObject);
  10.   private
  11.     { Private declarations }
  12.   public
  13.     { Public declarations }
  14.   end;
  15. var
  16.   ViewForm: TViewForm;
  17. implementation
  18. {$R *.DFM}
  19. procedure TViewForm.Image1Click(Sender: TObject);
  20. begin
  21.   Image1.Stretch := True;
  22. end;
  23. end.
  24.