要写代码的。昨天从网上搜索下了,然后修改了下才完成。var MainForm: TMainForm; AppPath: String; i: Integer;const sCount= 5; //ÉèÖÃÆÁ±£Í¼Æ¬×ÜÊýimplementationuses PWFormUnit;{$R *.DFM}procedure TMainForm.Timer1Timer(Sender: TObject); //ÉèÖÃÆÁ±£Í¼Æ¬Ñ­»·begin if i< sCount then begin i:= i+ 1;Image1.Picture.LoadFromFile(AppPath+ IntToStr(i)+ '.jpg'); //¶ÁÈ¡ÆÁ±£Í¼Æ¬ end else i:= 0;end;procedure TMainForm.FormCreate(Sender: TObject);begin i:= 0; AppPath:= ExtractFilePath(ParamStr(0)); Image1.Picture.LoadFromFile(AppPath+ '5.jpg'); ShowCursor(False); //Òþ²ØÊó±êend;procedure TMainForm.Image1Click(Sender: TObject);begin Application.CreateForm(TPWForm, PWForm); PWForm.ShowModal; PWForm.Free; ShowCurSor(True); //ÏÔʾÊó±êend;procedure TMainForm.FormKeyPress(Sender: TObject; var Key: Char);begin Application.CreateForm(TPWForm, PWForm); PWForm.ShowModal; PWForm.Free; ShowCurSor(True);end;procedure TMainForm.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);begin if(Key=VK_F4) and ([ssAlt]=shift) then //ÆÁ±ÎAlt+F4¼üÈóÌÐò²»Äܱ»¹Ø±Õ Key:=0;end;