Thank you, the form is centered when there is no method on the On Show event.
If I assign a method to the On Show event the second form does not center the main, regardless where the poMainFormCenter option is set, in code or Object Inspector.
Code with method is attached.
Please advise.