Completed
Last Updated: 14 Apr 2016 12:47 by ADMIN
ADMIN
Dimitar
Created on: 06 Feb 2015 11:44
Category: Form
Type: Bug Report
3
FIX. RadForm - when the form is maximized on a two monitor system a few pixels are visible on the second monitor.
To reproduce:
- Create new project.
- Make the default  form to inherit RadForm.
- Start the application and maximize the form.
- You will notice that a few pixels are displayed on the right monitor as well.

Workaround:
var screen = System.Windows.Forms.Screen.PrimaryScreen.Bounds;
this.MaximumSize = new Size(screen.Width, screen.Height);

Second Workaround:

public Form1()
{
    InitializeComponent(); 

    this.SizeChanged += Form1_SizeChanged;
}
 
private void Form1_SizeChanged(object sender, EventArgs e)
{
    if (this.WindowState == FormWindowState.Maximized)
    {
        this.Region = null;
    }
}
4 comments
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 25 Feb 2016 11:16
Hello Steve,

We can't give you an exact time frame when the issue will be addressed. Please make sure that you cast your vote. The more votes an item gets, the higher its priority becomes. As to the workaround, you can set the MaximumSize property to fill the entire monitor:

var screen = System.Windows.Forms.Screen.PrimaryScreen.Bounds;
this.MaximumSize = new Size(screen.Width + 8, screen.Height);
this.WindowState = FormWindowState.Maximized;
Steve
Posted on: 24 Feb 2016 20:53
We also have noticed the same issue and would like to be informed when this is fixed so we can implement the change.  This will need to be tested on dual monitors where one is larger than the other with a higher resolution as well.  The workaround also does not work as was covered in the forum post.  The width is too short and the length becomes to large.
ADMIN
Stefan
Posted on: 29 Apr 2015 14:18
Thank you for your input. We will consider it when we start working on this case. 
Vincent
Posted on: 22 Apr 2015 07:56
Same problem on a quad-screen system monitor. So scroll bar are drawn on 2 screens.