Resize Controls with Form Resize

前端 未结 5 1388
太阳男子
太阳男子 2020-12-01 19:29

I have read several stack overflow questions without finding a good working solution to my problem. How can I resize my controls whenever the form is resized? I would like

5条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-01 20:22

    If your controls are in a group box, be sure to set the group boxes properties to resize. Controls inside the box are controlled by the box. The box size (unless it is inside another box) is controlled by the form.

提交回复
热议问题