Skip to Content
0

Disable rectangle autoresize?

Apr 19, 2017 at 12:26 PM

73

avatar image
How can I disable automatic resizing of a rectangle when changing the size of a form?
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
DIEGO LOTHER Apr 19, 2017 at 01:40 PM
1

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

Share
10 |10000 characters needed characters left characters exceeded