Move a form does not have caption bar (Delphi)
To move a form that does not have a caption bar, add the following code in the onMouseDown event.
procedure TForm1.FormMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
ReleaseCapture;
SendMessage(Form1.Handle, wm_SysCommand,$f012,0);
end;