Ver Mensaje Individual
  #5  
Antiguo 30-04-2008
Avatar de neuronic
neuronic neuronic is offline
Miembro
 
Registrado: jul 2007
Ubicación: Catalunya
Posts: 32
Reputación: 0
neuronic Va por buen camino
var OrgFormPoint, CurCursorPoint, OrgCursorPoint: TPoint;

y donde quieres que el usuario mantenga el boton para arrestrar la ventana

OrgFormPoint.X := Left;
OrgFormPoint.Y := Top;
GetCursorpos(OrgCursorPoint);

While (GetAsyncKeystate(VK_LBUTTON) <> 0) do
begin
GetCursorpos(CurCursorPoint);
Left := OrgFormPoint.X - OrgCursorPoint.X + CurCursorPoint.X;
Top := OrgFormPoint.Y - OrgCursorPoint.Y + CurCursorPoint.Y;
//Application.processmessages;
end;
Responder Con Cita