Dialog positions wrong in 2.7.0.0 ?

I have the code below: it positioned the dialog in the centre of the screen, but since the upgrade to 2.7.0 the dialogs are being show in the top left corner. I reverted back to 2.6.3. and there the dialog is positioned correctly. (I am using the latest version of Chrome):

frm := TfrmLogin.Create (nil);
try
frm.Popup := true;
frm.PopupOpacity := 0.4;
frm.Position := poScreenCenter;
await (TfrmLogin, frm.Load);

mr := await(TModalResult, frm.Execute);

if mr = mrOK then

I have the same problem here. Up to version 2.7, the dialog box was centered in the middle of the screen. Now it is aligned on top left side of the screen. TMS can open the TMSWeb_multiform demo application and you will see the problem.

Other problem, now when opening a dialog from, the form is positioned at 0,0 in a scrolled page. The page is scrolled on top of the screen.

We could trace & fix this regression. We'll release v2.7.0.1 shortly to address this.

In version 2.7.2.2 the dialogs are again displayed at the top left and not in the middle

Demo under Demo\Basics\Multiform works fine here.
What are you doing different?

It works in the example.
I use the function ShowModal(@AfterShowModal) which also worked for me before

  1. please share full code
  2. do you set form.Position = poScreenCenter

Ok, form.Position := poScreenCenter; was the error, but it used to work. But it's not a problem and I will add this to all dialogs, THANKS for the help

Most likely it will no longer be needed to do this patch with the next release as we did last week a small change to make poScreenCenter the default also when calling ShowModal()

Ok, I put it in every time I called it up just to be on the safe side