Vote UpVote

Delphi: AutoSize property resizes a container (panel, scrollbox, form, frame…) to grow it to fit all controls

The Wiert Corner – A while back I needed a design-time way to automatically resize a Delphi container control (descendants from the, [WayBack] TWinControl Class like [WayBack] TPanel, [WayBack] TScrollbox, [WayBack] TForm, [WayBack] TFrame) to grow/shrink so it just fits around it’s contained controls. Back then I needed it for VCL design time, if possible taking into account non-visual components. The [WayBack] TControl.AutoSize Property does just that for visual controls and works way better than suggestions on doing this manually. Manually adjusting many controls at design time is a tedious job, ...
Favorite? Off-Topic? jpluimers @ 2018-12-26 12:04


Visits: 232
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)