Using MaximumSize Corrupts RadForm Border

2 posts, 0 answers
  1. KlaatuMcGoo
    KlaatuMcGoo avatar
    11 posts
    Member since:
    Apr 2007

    Posted 11 Jun 2009 Link to this post

    Environment:
      * WinForms 2009 Q1 SP1 (2009.1 414)
      * VS 2008 SP1
      * Windows XP Pro SP3

    RadForm grabs a sliver of the surrounding area and retains it with the form, making it ugly.  It happens when you have the form's MaximumSize property set, and you maximize the form.   To reproduce:
      * Start a vanilla VB Winforms project
      * Drag a RadButton onto the form, then delete the button (this auto sets refs to Telerik assemblies)
      * In Form1.Designer.vb, make the form inherit from Telerik.WinControls.RadForm
      * Set the .MaximumSize property for Form1 to (400,300)
      * Size Form1 smaller than this in the design environment, say, (200, 200)
      * Run the project
      * Move the form over something w/variation - you won't see the bug very well if the form is over a solid area
      * Maximize the form
      * On the right and bottom, you'll now see artifacts grabbed from the surrounding area, which are now persistent on the form.

    The error occurs w/both w/the default Vista skin and Office Black.

    A bitmap illustrating the issue is one folder down in the zip file, which also contains a sample VS2008 project:

    If you don't fix this, I'll have to redo my form as a vanilla WinForm.  When shall I expect a fix for this?

    -James Frater, Creative Software Solutions csoftwares.com
  2. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 15 Jun 2009 Link to this post

    Hi KlaatuMcGoo,

    Thanks for contacting us and for the provided details.

    I have investigated the issue you reported and I was able to reproduce it. Unfortunately there is no workaround available. However, it will be fixed in the new implementation of RadForm which will be shipped in Q2 2009 release of RadControls for WinForms is scheduled for the end of June.

    Do not hesitate to write back if you have further questions.

    Regards,
    Deyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top