Completed
Last Updated: 15 Feb 2018 07:48 by ADMIN
ADMIN
Dimitar
Created on: 14 Feb 2018 07:35
Category: Form
Type: Bug Report
1
FIX. RadMessageBox - the message is not centered to its owner when used in MDI scenario.
Use attached to reproduce. This was working in version 2017.1.221

Workaround:
private void Instance_LocationChanged(object sender, EventArgs e)
{
    var box = sender as RadMessageBoxForm;
    box.Location = new Point((this.Location.X + this.Width / 2) - (box.Width/2), (this.Location.Y + this.Height / 2 )- (box.Height/2));  
    
}
Attached Files:
0 comments