radform corners

4 posts, 0 answers
  1. Willis
    Willis avatar
    1 posts
    Member since:
    Jun 2008

    Posted 29 Jul 2008 Link to this post

    Hi,

    Is there a way, on a Winform radform to control the corners?   They are displaying faint and I have a request to either eliminate them, or add more depth to them.

    Thanks,

    Will
  2. Nikolay
    Admin
    Nikolay avatar
    1805 posts

    Posted 31 Jul 2008 Link to this post

    Hello Willis,

    You cannot control the roundness of the RadForm's corners. By 'faint' I guess you are referring the corners in Q1 release. In Q2 2008, however, our RadForm is has the Office shape - the bottom corners are right angles, the top corners are round, and the borders are displaying pretty well.

    Should you want to control the roundness of the corners, you can use our ShapedForm.

    If you have additional questions, feel free to contact me

    Greetings,
    Nikolay
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Todd Brooks
    Todd Brooks avatar
    1 posts
    Member since:
    Dec 2005

    Posted 11 Aug 2008 Link to this post

    "You cannot control the roundness of the RadForm's corners. By 'faint' I guess you are referring the corners in Q1 release. In Q2 2008, however, our RadForm is has the Office shape - the bottom corners are right angles, the top corners are round, and the borders are displaying pretty well."

    Can you define 'pretty well'? 

    Here is a screenshot of our application using RadForm (I've highlighted the corners).
    Screenshot

     It is using the default theme and AllowAeroGlass is enabled.  The TransparencyKey is set to the default (Control).  But look at the corners.  There isn't transparency and they aren't very rounded. 

    Am I doing something wrong?

    Regards,

    todd


  4. Angel
    Admin
    Angel avatar
    121 posts

    Posted 12 Aug 2008 Link to this post

    Hi Todd,

    For some reason the Region of the form is set to be null or rectangular.

    Check the code of the form (both files of the partial implementation) for:
    • Setting of form's Region property to null or to a rectangular shape:
      this.Region = null;

      If you find such code, remove it.
       
    • Setting of the root element's ApplyShapeToControl property to false:
      this.RootElement.ApplyShapeToControl = false;

      If you find such code, remove it.
       
    • Setting of a theme that modifies the shape of the root element or its ApplyShapeToControl property.
      Check the value of the ThemeName property:
      this.ThemeName = "ControlDefault";

      What is the value of ThemeName? Try setting it to "ControlDefault" - are the corners correct?
    If you create custom theme for RadForm you should select the RootElement and set its ApplyShapeToControl to true and Shape to Telerik.WinControls.UI.OfficeShape.

    If you cannot correct the form's corners, open а support ticket and give me your project so I will be able to correct them.

    Best wishes,
    Angel
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top