I have an FMX form in a DLL, which is invoked from another application.
How can I provide the parent handle and apply that parent handle to show my form modal?
In VCL the following was used in the custom form constructor:
Main question is how from FMX form can I show modal another FMX form using handles only? Currently I have the following code:
fmAbout := TMyForm.Create(nil);
hWin := WindowHandleToPlatform(fmAbout.Handle);
This code works, but AboutForm with property Position=OwnerFormCenter is displayed at the screen center, with property Position=MainFormCenter this is aligned at the center of the main form, not the owner form. How can I fix that?