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;
posted on 2011-03-04 11:14 龙少爷 阅读(183) 评论(0) 编辑 收藏 举报