拖动Form上的图片,Form一起动

procedure TfrmServerInfo.Image1MouseMove(Sender: TObject;
  Shift: TShiftState; X, Y: integer);
begin
  inherited;
  if (ssleft in Shift) then
  begin
    ReleaseCapture;
    Perform(wm_syscommand, $F012, 0);
  end;
end;
posted @ 2010-11-14 01:13  bingege  阅读(148)  评论(0编辑  收藏  举报