HI,
Das dürfte genau das machen was du suchst
Delphi-Quellcode:
procedure TForm1.Image1MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
const sc_dragmove = $f012;
begin
ReleaseCapture;
TWinControl(Edit1).perform(wm_syscommand,sc_dragmove, 0);
end;
procedure TForm1.FormPaint(Sender: TObject);
begin
Label1.Left := Edit1.Left;
Label1.Top := Edit1.Top - Label1.Height;
end;
Mfg ReDoX