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

Resize ShapedForm?

1 Answer 112 Views
ShapedForm
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 2
Adam asked on 05 Sep 2008, 12:00 PM
Is there any way to have ShapedForm resizable like a standard windows form, without adding a StatusStrip to the form?  It seems the problem is that the ShapedForm has a FormBorderStyle set to None, but changing this to anything else shows the windows form titlebar.

1 Answer, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 08 Sep 2008, 12:06 PM
Hi Adam,

Thank you for writing.

ShapedForm treats the whole space as its client area. When you dock a control in the form, it covers the border of the window and this disables form resizing. I would suggest setting an appropriate Padding value for the form. Another option is to add and anchor a panel that will contain all controls inside the form.

I hope this helps. If you have other questions, do not hesitate to contact me.

Kind regards,
Martin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ShapedForm
Asked by
Adam
Top achievements
Rank 2
Answers by
Martin Vasilev
Telerik team
Share this question
or