delphi - How to stop control resizing when removing anchoring? -
On removing an anchoring, one control can automatically resize itself in another size.
Steps to reproduce
-
Drop control on a form
-
Set up an anchor
-
Resize form; Change the size of the control with:
< / Li>
-
Remove anchor:
-
View the size without permission without permission:
when When you make the control, it receives the initial parameter of height and the square Due is when you change the size of the anchoring and form, the control also changes the size, but the initial parameters do not change. Therefore, when you remove anchoring, its initial size is found.
Comments
Post a Comment