How do I drag the form from other objects in a FMX application?

  

I would like to drag a form from other objects the same way it worked in VCL applications when using the SendMessage function. I know there is this post which asked the same thing, but the only answer that was given was for VCL applications by mistake.
In VCL applications I would normally use:
ReleaseCapture;
SendMessage(Form1.Handle, WM_NCLBUTTONDOWN, HTCAPTION, 0);

But since that no longer works I cannot use it.
So how can I move a form from other objects?

Comments are closed.