Jeeva
Jeeva

Reputation: 4663

Enabling form resizing

I have a existing form where the resizing is disabled. I tried to change the property Border Style to bsSizeable and border icons to [biSystemMenu,biMinimize,biMaximize]. I am able to resize but the controls inside the form is not sized accordingly. Any help would be appreciated.

Upvotes: 1

Views: 2015

Answers (1)

Rob Kennedy
Rob Kennedy

Reputation: 163247

The border style and icons control whether the form is resizable, but the controls on a form don't automatically move unless you've configured them to do so. Change their Align, Anchors, or Constraints properties, which all affect the size and position differently. You can also handle the form's OnResize event and arrange the controls however you want.

Upvotes: 5

Related Questions