Resize ShapedForm?

2 posts, 0 answers
  1. Adam
    Adam avatar
    89 posts
    Member since:
    Mar 2008

    Posted 05 Sep 2008 Link to this post

    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.
  2. Martin Vasilev
    Martin Vasilev avatar
    1061 posts

    Posted 08 Sep 2008 Link to this post

    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.
Back to Top