在运行时移动控件
时间:2014-07-29 21:21:02
收藏:0
阅读:383
在运行时移动控件

procedure TForm1.Button1MouseDown(Sender:
TObject; Button: TMouseButton;
Shift: TShiftState; X, Y:
Integer);
const
SC_DragMove
= $F012;
begin
Begin
ReleaseCapture;
Button1.perform(WM_SysCommand,
SC_DragMove, 0);
End;
end;原文:http://www.cnblogs.com/xe2011/p/3876206.html
评论(0)