FIX: center delete dialog on DC window (poOwnerFormCenter) instead of screen center

F5/F6 copy/move dialogs already use poOwnerFormCenter with frmMain as owner,
which naturally centers them on whichever monitor DC is on. Apply the same
to F8: change Position from poScreenCenter to poOwnerFormCenter.

No code change needed - all ShowDeleteDialog() calls already pass frmMain
as owner, so LCL handles the positioning correctly.
This commit is contained in:
heredie 2026-05-22 17:16:33 -06:00
commit f6ef67678f

View file

@ -12,7 +12,7 @@ inherited frmDeleteDlg: TfrmDeleteDlg
Constraints.MinWidth = 400
KeyPreview = True
OnKeyDown = FormKeyDown
Position = poScreenCenter
Position = poOwnerFormCenter
inherited pnlContent: TPanel
Height = 1
Width = 399