Topic: MessageBox (or MessageDlg) Placement
Hello All,
I have an application (see attachment) whose main form (Form1) can be moved anywhere around the screen (top, bottom, right, left) depending on what else I'm doing.
I like to keep all my other forms centred on the main form and do this using
form2.position := pomainformcenter etc etc.
However, any messagebox (or messagedlg) that pops up (for example, when deleting a record or confirming exit) is always centred on the whole screen and not on the main form (Form 1) - see Screenshot 2 in the attachment.
What I'd like is for any messagebox or messagedlg to also be centred on the main form (see Screenshot 3).
I know I can always write my own messagebox but I was just wondering if it can be done using the standard messagebox
Does anyone have any ideas?
(Using MVD 6.5 and Windows 10).
Thanks,
Derek