Skip to Content

Disable rectangle autoresize?

How can I disable automatic resizing of a rectangle when changing the size of a form?
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 19, 2017 at 01:40 PM

    Hi Savelyev,

    There is no option to avoid the resize of the controls inside the form, but you have two option:

    1. Listen the form_resize event and return your controls to original size.

    2. Set up your form for does not allow resize. You can achieve this, filling the property BorderStyle of your form to the value ft_Fixed.

    Hope it helps.

    Kind Regards,

    Diego Lother

    Add comment
    10|10000 characters needed characters exceeded