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

radform corners

3 Answers 151 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Willis
Top achievements
Rank 1
Willis asked on 29 Jul 2008, 05:06 PM
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

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 31 Jul 2008, 12:43 PM
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.
0
Todd Brooks
Top achievements
Rank 1
answered on 11 Aug 2008, 06:20 PM
"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


0
Angel
Telerik team
answered on 12 Aug 2008, 10:37 AM
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.
Tags
General Discussions
Asked by
Willis
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Todd Brooks
Top achievements
Rank 1
Angel
Telerik team
Share this question
or