Daniel Eugen
Daniel Eugen

Reputation: 2780

How to prevent controls from being resized along with the form

When i try to resize the form i find that the controls being resized with it

[Question] How could i prevent the controls from being resized with the form ?!

Upvotes: 0

Views: 946

Answers (2)

Olivier Jacot-Descombes
Olivier Jacot-Descombes

Reputation: 112762

The controls are resized in two cases

  1. When the control is docked

  2. When the Anchor property contains an anchor to the left as well as to the right side or to the upper as well as to the lower border.

Release one of the Left/Right and Top/Bottom anchors.

Upvotes: 3

HABO
HABO

Reputation: 15852

Change the Control.Anchor properties so that the controls do not resize.

Upvotes: 1

Related Questions