cancel
Showing results for 
Search instead for 
Did you mean: 

Disable rectangle autoresize?

0 Kudos
How can I disable automatic resizing of a rectangle when changing the size of a form?

Accepted Solutions (1)

Accepted Solutions (1)

former_member185682
Active Contributor

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

Answers (0)