// 移动就写上
ReleaseCapture;
SendMessage(Panel1.Handle,wm_SysCommand,$F012,0);
{// 改变大小就写上
ReleaseCapture;
SendMessage(Panel1.Handle,wm_SysCommand,$F008,0);}
// 移动就写上
ReleaseCapture;
SendMessage(Panel1.Handle,wm_SysCommand,$F012,0);
{// 改变大小就写上
ReleaseCapture;
SendMessage(Panel1.Handle,wm_SysCommand,$F008,0);}