- unit ViewWin;
- interface
- uses
- SysUtils, Windows, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, ExtCtrls;
- type
- TViewForm = class(TForm)
- Image1: TImage;
- procedure Image1Click(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
- var
- ViewForm: TViewForm;
- implementation
- {$R *.DFM}
- procedure TViewForm.Image1Click(Sender: TObject);
- begin
- Image1.Stretch := True;
- end;
- end.