I have a delphi form with specific ClientHeight and ClientWidth and 2 panels on it with certain width and height. When I resize the form, I want the panels to be resized automatically on runtime. How can I do this? Is there any built-in feature present in delphi to resize the child controls when parent controls are resized or I have to program it?
Use the panel's Align and/or Anchors properties. They are designed for exactly this purpose.
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