This is a migrated thread and some comments may be shown as answers.

bug in radform?

1 Answer 69 Views
Form
This is a migrated thread and some comments may be shown as answers.
Frank Beerens
Top achievements
Rank 1
Frank Beerens asked on 13 Sep 2012, 01:48 PM
Hi,

I think I found a bug in the RadForm control. The form resizes when I compile.

Steps to reproduce:
- Create a new project
- Create a new RadForm Form1
- Create another RadForm Form2, which inherits from Form1
- Set the FormBorderStyle of Form2 to None
- Add, for example, a PictureBox to the bottomright of Form2
- Compile and you will see that the size of the form changes

How to solve this? Thank you in advance.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Sep 2012, 01:51 PM
Hi Frank,

Thank you for contacting Telerik support.

I managed to reproduce this case and I have logged it in PITS. Here is the link to it: http://www.telerik.com/support/pits.aspx#/public/winforms/12662 

I have updated your Telerik points for this report.

As a workarround I would like to suggest to set the Form's MaximumSize property. For example:
this.ClientSize = new System.Drawing.Size(311, 305);
this.MaximumSize = new System.Drawing.Size(311, 305);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;

I hope this helps.

All the best,
Peter
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
Form
Asked by
Frank Beerens
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or