开发者

Autosize object in a form

How can I make an autosize form include all the objects 开发者_如何学编程in a form designer?


Do you mean that the controls inside the form should autosize when the form resizes?
Just set the Anchor property of the controls, if you set it to anchor to all 4 sides, they'll resize exactly like the form they're in.

If you need to do anything more advanced you can handle the forms resizing event and write code in there to resize other things at the same time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜