Ver Mensaje Individual
  #2  
Antiguo 17-05-2006
Avatar de Sotrono
Sotrono Sotrono is offline
Miembro
 
Registrado: abr 2004
Ubicación: Buenos Aires - Argentina
Posts: 396
Reputación: 21
Sotrono Va por buen camino
Hola, a ver si te sirve esto:

Código Delphi [-]
procedure TForm1.Button1MouseMove(Sender: TObject; Shift: TShiftState; X,
  Y: Integer);
begin
  if ssLeft in Shift then begin
    Button1.Top := Mouse.CursorPos.Y - Form1.Top;
    Button1.Left := Mouse.CursorPos.x - Form1.Left;
  end;
end;

Bytes.
Responder Con Cita