When removing an anchoring, a control can automatically resize itself to some other size.
Drop a control on a form
Set an anchor
Resize the form; watch the control resize with it:
Remove the anchor:
Watch the control resize itself without permission:
When you create control, It gets initial parameters. Among them there are height
and width
. When you enable anchoring and resize form, the control also resizes, but initial parameters don't change. Thats why, when you remove anchoring, it gets its initial size.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With