bug in radform?

2 posts, 0 answers
  1. Frank Beerens
    Frank Beerens avatar
    26 posts
    Member since:
    Jan 2010

    Posted 13 Sep 2012 Link to this post

    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.
  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 17 Sep 2012 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top