procedure TForm1.btn1MouseDown(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
const
    sc_DragMove   =   $f012;
begin
    ReleaseCapture;
    TM2Button(Sender).Perform(WM_SysCommand,   sc_DragMove,   0);
end;

相关文章:

  • 2021-08-19
  • 2021-11-06
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
猜你喜欢
  • 2021-08-17
  • 2021-10-14
  • 2021-05-16
  • 2022-12-23
  • 2022-12-23
  • 2021-08-05
相关资源
相似解决方案