Page 1 of 1

Positioning a dialog box

Posted: Wed Mar 21, 2018 5:18 pm
by driessen
Hello,

I positione my dialog boxes like this :

Code: Select all | Expand

ACTIVATE DIALOG Em1Dlg CENTERED
But in case I have more than one screen, how can I positione my dialog box on a second screen the same way?

If I open a dialog box on my second screen, it is always positioned at the top of the screen.

Thanks a lot for any help.

Re: Positioning a dialog box

Posted: Wed Mar 21, 2018 6:54 pm
by karinha
Do you do it this way?

Image

Regards.

Re: Positioning a dialog box

Posted: Thu Mar 22, 2018 7:25 am
by Antonio Linares
Michel,

You can try this way:

oDlg:Center( oWndParent )

And it will be centered in its parent area