[Error] Unit1.pas(27): Declaration expected but 'IF' found
procedure TForm1.FormKeyPress(Sender: TObject; var Key: Char);<BR>if Key in ['v'] then<BR>begin<BR>if Clipboard.HasFormat(CF_BITMAP) then<BR>Image1.Picture.Bitmap.Assign(Clipboard);<BR>end;<BR>在这上面我没有引用ClipBrd但是出现标题错误的原因是什么?页:
[1]
