Dialogs center on current monitor
I have searched around but cannet seem to find an answer
On a multiple monitor system I would like the dialogs (TwwLookupComboDlg) to open on the screen that the application is running on and not always to the default screen
I have tried in OnInitDialog
Dialog.Position:=Tposition(7);
Dialog.Position:=poOwnerFormCenter
But it just shows the message cannot change visible in onshow or onhide
Is there a simple way to do this
Regards
Malcolm
Please sign in to leave a comment.
Comments
3 comments