Use the OnResize event when programming in Delphi
How to use the OnResize event when programming in Delphi Sometimes you just can't achieve what you want in Delphi programming using anchors and alignment. You'll then want to take advantage of the OnResize event.